[ns] Event Unique ID

2006-08-11 Thread Chris c
Hello there, for example, N0---N1---N2, PingAgents on N0 and N2. Before Agent on N0 send ping-packet -"send(pkt,0)" , the pkt->uid_ is 3; when Agent on N2 receive that ping-packet, the pkt->uid_ is -5, when it send reply message, the pkt->uid_ is 7; when Agent on N0 receive the reply-packe

Re: [ns] Different in dsredq.cc

2006-08-14 Thread Chris c
I don't have * if (mredMode == dropTail) { qParam_[0].edp_.th_min = atoi(argv[4]); return; }* in "void redQueue::config" I use 2.29 chirs On 8/13/06, Bie New <[EMAIL PROTECTED]> wrote: > > > Hello there, > > I am use ns-2.29, in the file ns-allinone-2.29/ns-2.29/diffserv/dsredq.cc, > at

[ns] [HELP] Functions implemented in Wireless communication

2006-09-28 Thread Chris c
Hello there, For some reasons, I have to check NS2 implementation of two functions used in wireless(AODV) communication. One is Exponential-backoff Retransmission, the other is intermediate nodes discard the reduplicate messages (due to wireless channel). Anyone knows where I can find the files

[ns] "rate_" parameter in Exponential traffic

2006-10-21 Thread Chris c
Hello there, I am not sure the setting of "rate_" in Exponential traffic I wanna generate data traffic with rate of 16kps , and packetsize is 40Byts. burst_time 450ms, idle_time 50ms, In my calculation, 16kps = rate_ * burst_time / (burst_time + idle_time) , so I get rate_ is 17.778 k Is it ri

[ns] Which Packet Header does UDP agent use???

2006-11-05 Thread Chris c
Hello there, Does anyone know which Packet Header UDP agent use?? In my experiment, I wanna remove all unnecessary packet headers to in order to save memory.. Some one told me UDP agent use RTP header, is that correct ? I do like this : remove-all-packet-headers add-packet-header IP RTP Regard