[ns] how to find intermediate nodes.....

2009-04-06 Thread Arun Kumar
suppose i have a following path n1-n2-n3-n4 if n1 sends a packet to n4 i hav to find the intermediate nodes in the path between n1 and n4 regards N.ArunKumar Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/

[ns] how to find intermediate nodes.....

2009-04-06 Thread Arun Kumar
suppose i have a following path n1-n2-n3-n4 if n1 sends a packet to n4 i hav to find the intermediate nodes in the path between n1 and n4 regards N.ArunKumar

[ns] how to find intermediate nodes.....

2009-04-06 Thread Arun Kumar
suppose i have a following path n1-n2-n3-n4 if n1 sends a packet to n4 i hav to find the intermediate nodes in the path between n1 and n4 regards N.ArunKumar

[ns] Matlab functions in ns2

2009-02-11 Thread Arun Kumar
hi, how to use matlab functions in ns2.i want to use Discrete Wavelet Transform in ns2. regards, N.ArunKumar Check out the all-new Messenger 9.0! Go to http://in.messenge

[ns] error while compiling c++ code..............

2009-01-31 Thread Arun Kumar
hi,while compiling the following c++ code i got the following error please help me to resolve this error. file: ip1.cc #include #include #include #include struct ipnode /* To Store Node Information */ { char ip[15]; }node[10]; class ip: public TclObject { public: ip(); protected: int com

[ns] Please help !! Error..

2009-01-28 Thread Arun Kumar
while creating a new protocol(Agent "New") i got this error please help... invalid command name "Agent/New" while executing "Agent/New create _o36 " invoked from within "catch "$className create $o $args" msg" invoked from within "if [catch "$className create $o $args" msg] { if [strin

[ns] how to assign ip address to nodes...

2009-01-27 Thread Arun Kumar
I have to assign ip address to nodes in ns-2 and i have to count the number of packets sent to each node,how this can be imlpemented.Please help me.Looking forward for your kindly help. With regards,

[ns] Please Help ........Error while creating new packet types

2009-01-26 Thread Arun Kumar
sir i have to create a new header type so i searched in the net and got the code in the website http://www.isi.edu/nsnam/ns/tutorial/index.html. But in packet.h PT_PING and name_[PT_PING]="ping" is already defined and in ns-default.tcl Agent/Ping set packetSize_ 64 is also defined. which version

[ns] Trace file -format, Size of Packets..

2006-07-08 Thread ARUN KUMAR
Hallo all, Regarding the trace file what are the message in the trace file exactly implicit ?? r 0.001913267 _1_ RTR --- 0 message 32 [0 0 800] --- [0:255 -1:255 32 0] Also is there any method to limit the size of the packets ?? Just to a limited number of packets..Please

[ns] urgent: mac_802.11.cc to scheduler.cc ??

2006-07-06 Thread ARUN KUMAR
Hallo all, I am using the mac_802-11.cc for my simulation of ns-2. I need to know where the mac calls the scheduler.cc and vice versa..When i compile and run the examples of tcl i get the reuslts from mac packet with the scheduler infos etc..But i dont know where the calling takes place e

[ns] Scheduler in ns-2 --Help me

2006-06-22 Thread ARUN KUMAR
Hallo all, My theme is connecting the two discrete event simulators. So where can i get the information about the scheduled events captured in the ns-2 source code. Is it been seen from the scheduler itself or else at the different parts of the protocol stack schedule the events. Also

[ns] urgent help needed mac-802.11 tcl code

2006-03-06 Thread ARUN KUMAR
Hallo All, I am new to ns-2 simulation. I am simulating the mac_802.11. I have created a dummy mac_802.11. I want to run a simple tcl for this mac just to get the information of sender id and receiver id in the screen. Which code of the TCL script shall i modify. If you have any code for this pl