[ns] calculating the number of packet in the queue

2006-10-10 Thread Bilel Romdhani
hi all, i m simulating wireless scenario and i want to communicate to the mac layer the number of packet in the queue but by displaying this number in ll layer in file droptail.cc i got 0! # void DropTail::enque(Packet* p) { printf(la taille = %d\n ,

[ns] multiple interface nodes

2006-10-10 Thread luigi
Hi, I need to configure a node with two different wireless interfaces, to bridge two separated networks (a Bluetooth and a ZigBee one). How can I do it?

Re: [ns] IPv6 support in NS-2

2006-10-10 Thread Tubtim Sanguanwongthong
Thank you very much for this help. Unfortunately, I try to find the Mobiwan Patchfile for ns-2.26 from google and http://www.ti-wmc.nl/mobiwan2/ ,but I cannot find where I can download the patch. Would you please give the link or put in your web page (it's very important) ? Thank you

[ns] Determining the number of simulation runs

2006-10-10 Thread Pragasen Mudali
Hi, How are the number of ns-2 simulation runs determined. If the central limit theorem is used, how are the values that comprise the equation determined? Thanks in advance -- Pragasen

[ns] how can we echange variable between layer???

2006-10-10 Thread Bilel Romdhani
hi everybody, i m using ns2.27 to simulate wireless scenario and i want to know how can we echange variable between layer, ie, i want to use the cw_ variable on the droptail.cc file how can i do that if it's possible of course! thanks a lot

[ns] How to determine the current simulation time from C++ code?

2006-10-10 Thread Piyush Agrawal
Hi, How can I print the current time in the simulation from the C++ code? TIA, Piyush -- Piyush Agrawal 4th Year Undergraduate Student, Department of Computer Science Engineering, IIT Kanpur, India Homepage: http://www.cse.iitk.ac.in/users/piyushag

[ns] odmrp on ns-2.29? Please help

2006-10-10 Thread oooh god
Hi, I have ported odmrp implementation on monarch website. After removing warnings and errors, simulation runs fine with admr protocol. But odmrp halts abruptly without giving any error info after 25 sec of run time. I am using the command given in read me to run the simulation. Has any one

[ns] odmrp on ns2.29 Here is the output...

2006-10-10 Thread oooh god
hi here is the output screen [EMAIL PROTECTED]:~/ns-allinone-2.29/ns-2.29 ns odmrelated/scripts/run.tcl -x 1200 -y 800 -nn 100 -stop 900 -tr odmrelated/TRACES/out1.tr -mg odmrelated/comm_scenarios/cbr_100_4x64_1x1x10_mcast_ns_rs -sc odmrelated/move/scen-1200x800-100-0-1-1 -rp odmrp num_nodes