[ns] What do the fields in trace file denote?

2009-10-28 Thread Mutiullah Qureshi
Below are lines from a trace file: M 60.0 0 (111.07, 111.07, 0.00), (480.00, 300.00), 5.00 D 100.002360649 _0_ IFQ ARP 0 exp 210 [0 0 0 800] --- [0:0 1:0 32 0] r 100.013953435 _1_ AGT --- 2 exp 210 [13a 1 0 800] --- [0:0 1:0 32 0] Please tell me what do the fields represent?

Re: [ns] What do the fields in trace file denote?

2009-10-28 Thread Urlan Salgado de Barros
Hi, 2009/10/28 Mutiullah Qureshi mutiulla...@yahoo.com Below are lines from a trace file: M 60.0 0 (111.07, 111.07, 0.00), (480.00, 300.00), 5.00 D 100.002360649 _0_ IFQ ARP 0 exp 210 [0 0 0 800] --- [0:0 1:0 32 0] r 100.013953435 _1_ AGT --- 2 exp 210 [13a 1 0 800] --- [0:0

Re: [ns] Re : How to set priority for packet (thangnd)

2009-10-28 Thread Urlan Salgado de Barros
Hi, 2009/10/27 aoufi souhila aoufi_souh...@yahoo.fr Dear Urlan A have read the contribution for 'How to evaluate MPEG video transmission using the NS2 simulator?' that is very important. but I have found that the link 'An example for video transmission over wireless network' does not work.

Re: [ns] identifying per application packets, not per agent

2009-10-28 Thread Daniel Anguita
is there a way to put a flag on each packet? a per flow flag. For example, if we have a video streaming and a messaging over TCP. Can we add an extra flag [V] for video and [M] for each packet sended by the applications over the same agent? Or i'll need to hack the ns2 source code at a C++

[ns] question regarding

2009-10-28 Thread sashtari
Hello everybody I have a question about Mac header. When we define some nodes in tcl code, I checked and saw that their node IDs are used as source mac address(macSA) and destination mac address(macDA). (I've gotten these results by adding a fprintf command in mac802-3.cc.) Now, my question is

[ns] question regarding mac header in ns2

2009-10-28 Thread sashtari
Hello everybody I have a question about Mac header. When we define some nodes in tcl code, I checked and saw that their node IDs are used as source mac address(macSA) and destination mac address(macDA). (I've gotten these results by adding a fprintf command in mac802-3.cc.) Now, my question

[ns] global array

2009-10-28 Thread manoop talasila
Hi NSusers, I am trying to use a global array to store some info that is reported by each wireless node and later will use this stored info for processing some data when any other node request for it. To implement this scenario, where do I declare the global array? so that till the end of

[ns] Problem compiling ns-2.34 with eclipse Galileo under ubuntu

2009-10-28 Thread Albane Delos
Hi all, I am currently trying to make ns-2.34 work in Eclipse Galileo. Without Eclipse it works and compiles just fine but in Eclipse I have the following errors: make all Building file: ../ns_tclsh.cc Invoking: GCC C++ Compiler g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MFns_tclsh.d

[ns] step by step debugging in C++,function not defined!

2009-10-28 Thread hamide cheraghchi
Hi I'm using ns2 with gdb and i've installed ddd, i use gdb to find my segmentation fault error. but i'd like to have a step by step debugging through my c++ code that is a new extention to ns2, but it doesnt work . i'm not able to insert breakpoint, it's written that you should use something

Re: [ns] identifying per application packets, not per agent

2009-10-28 Thread hamide cheraghchi
 i set priority for my routing protocol by hacking ns2 code llike this:  i bind a priority variable to udp.cc , bind(packetPrio_, prio_); and in file void UdpAgent::sendmsg(int nbytes, AppData* data, const char* flags) {  Packet *p;  int n;  assert (size_ 0);  assert (prio_ = 0);  n = nbytes