[ns] Mac/802.11 + SRM + CBR does not work?

Marcos Fereyra mfereyra at datafull.com
Mon Nov 1 11:16:45 PST 2004


Hello:

I've tried to replace nodes n($i) in ns/tcl/ex/srm.tcl with mobilenodes
(Mac/802_11) but can't make it work. I need to try SRM over 802.11 ad
hoc wireless LANs. I'm using ns-allinone-2.27. Any hints?

I get these messages:

$ns wsrm.tcl
INITIALIZE THE LIST xListHead
Starting Simulation...
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5,  distCST_ = 550.0
SORTING LISTS ...DONE!
ns: _o19 new-group 0 -2147483648 -1 cache-miss: can't read
"protocols_(-1)": no such variable
    while executing
"$protocols_($iface) upcall $code $source $group $iface"
    (procedure "_o20" line 9)
    (mrtObject upcall line 9)
    invoked from within
"$mrtObject_ upcall $code $src $group $iface"
    (procedure "_o14" line 3)
    (Node new-group line 3)
    invoked from within
"$node_ new-group $src $group $iface $code"
    (procedure "_o19" line 3)
    (Classifier/Multicast new-group line 3)
    invoked from within
"_o19 new-group 0 -2147483648 -1 cache-miss"
$



More information about the Ns-users mailing list