[ns] Pointer to LL at mac 802.11
Sameh Gobriel
sameh.gobriel at gmail.com
Wed Aug 2 13:23:40 PDT 2006
Hi NS users,
I have a problem on getting a pointer to the link layer at the MAC.
I added the following to the Mac802_11::command(){
.....
else if(strcmp(argv[1], "up-target") == 0){
ll_ = (LL *) TclObject::lookup(argv[2]);
assert(ll_);
}
}
return Mac::command(argc, argv);
}
The add-interface in ns-mobilenode.tcl says
$mac up-target $ll
I get a segfault, I wonder what went wrong. Any clue ??
Thanks
More information about the Ns-users
mailing list