[ns] a problem when execute a example from Section V in Marc Greis' Tutorial

2014-06-13 Thread 管连勇
Hi everybody, i‘m using ns-allinone-2.35 at CYGWIN_NT-6.1 inagtech 1.7.11(0.260/5/3) 2012-02-24 14:05 i686 Cygwin, and start with `Marc Greis' Tutorial for the UCB/LBNL/VINT Network Simulator ns`. i write down the example in Section V as following, # first of all, create a simulator object

[ns] To trace the packets from the trace file

2014-06-13 Thread Rahul Lanjewar
Dear sir, How to distinguish and count the sent, dropped and received packets from trace file? I only need the data packets(sent, received and dropped) not control packets like ACK. Please if there any tool to trace the .tr file then it is good for me. Thanks and Regards Rahul R

[ns] query regarding struct

2014-06-13 Thread prince
Hi, when i make struct(having two int variable) in mac802-11.h and when i access struct variable in mac.cc segmentation fault occur ,when i see the struct reference declared in mac802-11.cc i got it is NULL... how can i access struct in ns2. thanks -- View this message in context:

[ns] About trace file

2014-06-13 Thread Rahul Lanjewar
Dear sir, How to distinguish and count the sent, dropped and received packets from trace file in NS2? I only need the data packets(sent, received and dropped) not control packets like ACK. Please if there any tool to trace the .tr file then it is good for me. ​ ​ Thanks and Regards