[ns] question regarding queue and ifq in NS-2

2013-04-23 Thread prince

hello forum
i want to use multiple queue in ns-2 but i am confused that these multiple
queues should where be placed, because IFQ is placed between LL and MAC
layer... so multiple queues should also be  between LL and MAC or
somewhere else.
pls help
 thanks



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/question-regarding-queue-and-ifq-in-NS-2-tp26787.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] question regarding queue and ifq in NS-2

2013-04-23 Thread prince

because scheduler is used between network and MAC layer so scheduler is also
where placed for accessing these multiple queues.

pls help thanks



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/question-regarding-queue-and-ifq-in-NS-2-tp26787p26788.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] Erro in trust table creation

2013-04-23 Thread Ramaprabha N

Hi All
 Am doing my project in manet security using Ns2.34.   Now am
getting error in trust table creation using tcl. i have to set initial
trust value (0) for each node.My Tcl code is as follows..am getting error
like this.
set trust 0
set node_($i) trust


am getting error like this.

ns: 0 setdest 38.145989430204 95.7154827638135 15.0 :invalid command name
0 while executing

0 setdest 38.145989430204 95.7154827638135 15.0


So am getting conflict like this. Can any one give me some suggestions to
overcome my problem or any other way s there to set initial trust value...
waiting for the reply
*---
prabha*


[ns] Selective Retransmission

2013-04-23 Thread khalil afzal

Hi all,

I need to implement a selective retransmission mechanism in ns-2 for MPEG-4 
multicast. 

The sample MPEG-4 trace file is given 
1I  2676     3 segm at       66 ms
   2P   534     1 segm at       99 ms
   3B   463     1 segm at      132 ms
   4B   384     1 segm at      165 ms
   5P   649     1 segm at      198 ms
   6B   411     1 segm at      231 ms
   7B   434     1 segm at      264 ms

As there is no retransmission for multicast in 802.11. I need to re-transmit 
frame if its type is I.
Please suggest/help me how I can modify MAC 802.11 in ns-2 to differentiate 
different frames. and selective retransmission..

Thanks in advance

Khalil


[ns] help for awk script

2013-04-23 Thread Khadijeh Arabi

Hi all
How can write awk script for get energy consumption of aodv?
Thanks