how to access length queue for each node in NS2

ablah alamri <[email protected]> Mon, 17 Apr 2017 01:07:59 +0000
Newsgroups gmane.network.simulator.isi
Message-ID <AMSPR02MB246104607A2B28C742BFAE4B3060@AMSPR02MB246.eurprd02.prod.outlook.com>
Hi

I work in my master thesis using NS2 simulation, and I need to know the queue length for each node

In NS2 we can defined queue length for the node by adding the definitions in tcl:


  $ns_ node-config \
                   -llType         LL
                   -ifqType        "Queue/DropTail/PriQueue"
                   -ifqLen         50

then in c++ we access this by use for example in the case of AODV or AOMDV:

ifqueue->queue_length()

but I think this is not for specific node

my question is how I access the queue length for each node using node address during routing discovery

Thanks


مرسل من Outlook<http://aka.ms/weboutlook>