[ns] what are the modifications of TCP delayed ACK for the case d>2?
Hello all I want to delay more than 2 ACKs on the TCP receiver side to study the interaction of TCP new reno with the 802.11 MAC protocol in wireless multi-hop networks. How can I modify the ns source code for the case of delaying more than two ACKs for example up to 3 or 4 ACKs? If anybody has any example, document or ns source code or knows any helpful website, please help me. Regards, Farzaneh - Pinpoint customers who are looking for what you sell.
Re: [ns] shutting down link or node with wireless topology
You can try to set the coordinates of the nodes to large values. $node set X_ 1 $node set Y_ 1 I haven't done this before, hope it works. -- Wenhua On 6/28/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > $ns_ at 60.0 "$node_(0) off" now works but i still can see packets being > sent (and received) from node 0 after it was shutdown in the trace file... > > Any ideas? > Greats, > Patrick > > > > > Hi all, > > > > Thank you for answering but i tried the > > $ns_ at 60.0 "$node_(0) off" > > > > command which gave me the segment fault error, i then added the > > energymodel to the node and here's what i get when i try running the > > simulation: > > > > ns: _o17 reset-state: > > (_o17 cmd line 1) > > invoked from within > > "_o17 cmd reset-state" > > invoked from within > > "catch "$self cmd $args" ret" > > invoked from within > > "if [catch "$self cmd $args" ret] { > > set cls [$self info class] > > global errorInfo > > set savedInfo $errorInfo > > error "error when calling class $cls: $args" $..." > > (procedure "_o17" line 2) > > (SplitObject unknown line 2) > > invoked from within > > "_o17 reset-state" > > > > > > here is my nodeconfig in the Tcl script > > > > $ns_ node-config -adhocRouting $val(adhocRouting) \ > > -llType $val(ll) \ > > -macType $val(mac) \ > > -ifqType $val(ifq) \ > > -ifqLen $val(ifqlen) \ > > -antType $val(ant) \ > > -propType $val(prop) \ > > -phyType $val(netif) \ > > -channel $chan_1_ \ > >-topoInstance $topo \ > >-agentTrace ON \ > > -routerTrace ON \ > > -macTrace OFF \ > >-energyModel EnergyModel \ > >-rxPower 0.3 \ > >-txPower 0.6 \ > >-initialEnergy 0.1 > > > > can anyone help me with this output ? and please could someone explain the > > difference between the > > > > $ns_ at 60.0 "$node_(0) off" > > > > and > > > > $ns_ rtmodel-at 60.0 down $node_(0) > > > > is the 1st one only available when using an energy model? and how come the > > second one has no effect on wireless nodes > > > > PS: i am using a 802.11 model > > > > any help would be greatly appreciated > > > > > > > > > > > > Message original > > Objet: Re: [ns] shutting down link or node with wireless topology > > De: "Daniel Dekst" <[EMAIL PROTECTED]> > > Date:Jeu 28 juin 2007 3:42 > > À: ns-users@ISI.EDU > > -- > > > > > > seems "$node off" works > > > > - > > ÇÀ×¢ÑÅ»¢Ãâ·ÑÓÊÏä3.5GÈÝÁ¿£¬20M¸½¼þ£¡ > > > > > > > > >
[ns] Call function of an agent
Hi, I have my own agent class in ns. Is there any way for me to call a function inside this agent class from another class?? Best regards, Alexandre Malhão
[ns] Help add-interface ns-2.30
hi all, I am trying to implement ODMRP (Monarch extension ns-2.1b8) on ns-2.30. I have ported the code of ns-2.1b8 to 2.29 My odmrp code is complied fine. but when i am using the tcl script which is there with the ns-2.1b8 for running the ODMRP on a particular scenerio the error in the file is as: *** no errormodel specified. UniAgent: net_id is 0 wrong # args: should be "_o16 self class proc channel pmodel lltype mactype qtype qlen iftype anttype topo inerrproc outerrproc fecproc" (Object next line 1) invoked from within "_o16 next _o3 _o27 LL Mac/802_11 Queue/DropTail/PriQueue 50 Phy/WirelessPhy > Antenna/OmniAntenna _o14 { }" ("eval" body line 1) invoked from within "eval $self next $args" (procedure "_o16" line 6) (ODMRPNode add-interface line 6) invoked from within "$node add-interface $channel_(0) [new $opt(prop)] $opt(ll) $opt(mac) $opt(ifq) $opt(ifqlen) $opt(netif) $opt(ant) $topo \ " (procedure "create-mcast-mobile-node" line 19) invoked from within "create-mcast-mobile-node $i 0 " invoked from within "if { [string compare $opt(rp) "odmrp"] == 0} { for {set i 0} {$i < $opt(nn) } {incr i} { create-mcast-mobile-node $i 0 } } " (file "/root/Desktop/ns-allinone-2.28/ns-2.28/scrip_odm1/run.tcl" line 396) num_nodes is set 100 I think there is any problem in passing the arguments to the "eval " procedure for the interface to the node. I have tried hard to find where the eval is defined, but enable to find. please if any one has faced the same problem with this code please help me.I needit urgently. Thanks, - Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
[ns] problem: installing ns2 2.27 on FC-5
Dear All, I intend to intall pdns and for that purpose am installing/configuring ns2-2.27 on FC-5. When I run make I get a lot of errors in the SCTP.h, SCTP.cc, Queue.h and various other files. They seem like syntax errors, as they refer to destructors, invalid lvalues, and invalid (class) namespace specifiers. Is there any patch that I could use for ns2-2.27? Thank you, Abid Ghufran. _ The next generation of Hotmail is here! http://www.newhotmail.co.uk/
[ns] Ssendfailure Error message DSR
Hello ns users, I am doing simulations using DSR routing protocol. The simulation time is 900 s, but the simulations never finishs ometimes, it appears a fail message like the following: SSendFailure 2177. _5_ -XX- 5:0 44:0 5->4 1 2 2 3 [|5 4 7 6 12 44] Can any one tell me where the bug is? Regards - Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out.
[ns] shutting down link or node with wireless topology
$ns_ at 60.0 "$node_(0) off" now works but i still can see packets being sent (and received) from node 0 after it was shutdown in the trace file... Any ideas? Greats, Patrick > > Hi all, > > Thank you for answering but i tried the > $ns_ at 60.0 "$node_(0) off" > > command which gave me the segment fault error, i then added the > energymodel to the node and here's what i get when i try running the > simulation: > > ns: _o17 reset-state: > (_o17 cmd line 1) > invoked from within > "_o17 cmd reset-state" > invoked from within > "catch "$self cmd $args" ret" > invoked from within > "if [catch "$self cmd $args" ret] { > set cls [$self info class] > global errorInfo > set savedInfo $errorInfo > error "error when calling class $cls: $args" $..." > (procedure "_o17" line 2) > (SplitObject unknown line 2) > invoked from within > "_o17 reset-state" > > > here is my nodeconfig in the Tcl script > > $ns_ node-config -adhocRouting $val(adhocRouting) \ > -llType $val(ll) \ > -macType $val(mac) \ > -ifqType $val(ifq) \ > -ifqLen $val(ifqlen) \ > -antType $val(ant) \ > -propType $val(prop) \ > -phyType $val(netif) \ > -channel $chan_1_ \ >-topoInstance $topo \ >-agentTrace ON \ > -routerTrace ON \ > -macTrace OFF \ >-energyModel EnergyModel \ >-rxPower 0.3 \ >-txPower 0.6 \ >-initialEnergy 0.1 > > can anyone help me with this output ? and please could someone explain the > difference between the > > $ns_ at 60.0 "$node_(0) off" > > and > > $ns_ rtmodel-at 60.0 down $node_(0) > > is the 1st one only available when using an energy model? and how come the > second one has no effect on wireless nodes > > PS: i am using a 802.11 model > > any help would be greatly appreciated > > > > > > Message original > Objet: Re: [ns] shutting down link or node with wireless topology > De: "Daniel Dekst" <[EMAIL PROTECTED]> > Date:Jeu 28 juin 2007 3:42 > À: ns-users@ISI.EDU > -- > > > seems "$node off" works > > - > ÇÀ×¢ÑÅ»¢Ãâ·ÑÓÊÏä3.5GÈÝÁ¿£¬20M¸½¼þ£¡ > > >
[ns] ODMRP, ADMR under ns-allinone-2.30
hi all, I am trying to implement ODMRP (Monarch extension ns-2.1b8) on ns-2.30. I have ported the code of ns-2.1b8 to 2.29 My odmrp code is complied fine. but when i am using the tcl script which is there with the ns-2.1b8 for running the ODMRP on a particular scenerio the error in the file is as: *** no errormodel specified. UniAgent: net_id is 0 wrong # args: should be "_o16 self class proc channel pmodel lltype mactype qtype qlen iftype anttype topo inerrproc outerrproc fecproc" (Object next line 1) invoked from within "_o16 next _o3 _o27 LL Mac/802_11 Queue/DropTail/PriQueue 50 Phy/WirelessPhy > Antenna/OmniAntenna _o14 { }" ("eval" body line 1) invoked from within "eval $self next $args" (procedure "_o16" line 6) (ODMRPNode add-interface line 6) invoked from within "$node add-interface $channel_(0) [new $opt(prop)] $opt(ll) $opt(mac) $opt(ifq) $opt(ifqlen) $opt(netif) $opt(ant) $topo \ " (procedure "create-mcast-mobile-node" line 19) invoked from within "create-mcast-mobile-node $i 0 " invoked from within "if { [string compare $opt(rp) "odmrp"] == 0} { for {set i 0} {$i < $opt(nn) } {incr i} { create-mcast-mobile-node $i 0 } } " (file "/root/Desktop/ns-allinone-2.28/ns-2.28/scrip_odm1/run.tcl" line 396) num_nodes is set 100 I think there is any problem in passing the arguments to the "eval " procedure for the interface to the node. I have tried hard to find where the eval is defined, but enable to find. please if any one has faced the same problem with this code please help me.I needit urgently. Thanks, - Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.
Re: [ns] shutting down link or node with wireless topology
Hi all, Thank you for answering but i tried the $ns_ at 60.0 "$node_(0) off" command which gave me the segment fault error, i then added the energymodel to the node and here's what i get when i try running the simulation: ns: _o17 reset-state: (_o17 cmd line 1) invoked from within "_o17 cmd reset-state" invoked from within "catch "$self cmd $args" ret" invoked from within "if [catch "$self cmd $args" ret] { set cls [$self info class] global errorInfo set savedInfo $errorInfo error "error when calling class $cls: $args" $..." (procedure "_o17" line 2) (SplitObject unknown line 2) invoked from within "_o17 reset-state" here is my nodeconfig in the Tcl script $ns_ node-config -adhocRouting $val(adhocRouting) \ -llType $val(ll) \ -macType $val(mac) \ -ifqType $val(ifq) \ -ifqLen $val(ifqlen) \ -antType $val(ant) \ -propType $val(prop) \ -phyType $val(netif) \ -channel $chan_1_ \ -topoInstance $topo \ -agentTrace ON \ -routerTrace ON \ -macTrace OFF \ -energyModel EnergyModel \ -rxPower 0.3 \ -txPower 0.6 \ -initialEnergy 0.1 can anyone help me with this output ? and please could someone explain the difference between the $ns_ at 60.0 "$node_(0) off" and $ns_ rtmodel-at 60.0 down $node_(0) is the 1st one only available when using an energy model? and how come the second one has no effect on wireless nodes PS: i am using a 802.11 model any help would be greatly appreciated Message original Objet: Re: [ns] shutting down link or node with wireless topology De: "Daniel Dekst" <[EMAIL PROTECTED]> Date:Jeu 28 juin 2007 3:42 À: ns-users@ISI.EDU -- seems "$node off" works - ÇÀ×¢ÑÅ»¢Ãâ·ÑÓÊÏä3.5GÈÝÁ¿£¬20M¸½¼þ£¡
[ns] real link event to ns2
is it posiible in nse or ns2 or whatever to get real changes in the link state and inject this events to ns2? _ Picture this share your photos and you could win big! http://www.GETREALPhotoContest.com?ocid=TXT_TAGHM&loc=us