Re: [ns] segmentation fault with dsr

2010-08-07 Thread tiongsquare
hi, Solution: In yr tcl script, include the following: if { $val(rp) == “DSR” } { set val(ifq)CMUPriQueue } else { set val(ifq)Queue/DropTail/PriQueue } http://cromagnonlife.wordpress.com/2010/08/08/solution-ns2-segmentation-fault-core-dumped-when-using-dsr/ sriram

Re: [ns] Problem using DSR in ns 2.34 and few general queries

2010-08-07 Thread tiongsquare
hi, Solution: Hi, In yr tcl script, include the following: if { $val(rp) == “DSR” } { set val(ifq)CMUPriQueue } else { set val(ifq)Queue/DropTail/PriQueue } http://cromagnonlife.wordpress.com/2010/08/08/solution-ns2-segmentation-fault-core-dumped-when-using-dsr/ visq

[ns] Solution to ns2 dsr segmentation fault

2010-08-07 Thread tiongsquare
will like to share the solution with everyone =) Solution: In yr tcl script, include the following: if { $val(rp) == “DSR” } { set val(ifq)CMUPriQueue } else { set val(ifq)Queue/DropTail/PriQueue }

[ns] difference in cbr rate

2010-08-07 Thread ankur goyal
Hi All, I have few queries, 1) when we define cbr rate as $cbr_(0) set rate_ 0.1Mb and packet size as $cbr_(0) set packetSize_ 512 this means that node should send app. 195 (0.1*1000*1000/512 = 195.32 Packets) packets in a second (Please correct me if i am wrong). but when i run my simulation

[ns] code to add the hops(path) to source routing in the packet

2010-08-07 Thread Wei Zhang
Hello everybody, I need code to add the hops of path to source routing in the packet. If you have it please send me soon. Thank you in advance. Wei

[ns] Basic requirement for implementing a new protocol

2010-08-07 Thread sajad m
Hi all   We read and heard a lot about How to Implement  a new routing algorithm, but as a necessary requirement for implementing a new protocol, it's necessary to access the distance between nodes, their location or their residual energy. I know the way of access to such information through