[ns] ifq length is always zero
Amita Singh
amita26 at rediffmail.com
Tue Sep 23 04:02:24 PDT 2008
Hi,
To get interface queue length, I make the following additions in AODV source code:
(AODV.CC)
PriQueue *pq=pq->prhead.lh_first;
int curq=(int(pq->curq_);
(PriQueue.CC)
curq_=q_->length();
But when I run the script, the interface queue length is always reported as 0(zero). Why? What else needs to be changed.
Thanking you in anticipation
regards
Amita
More information about the Ns-users
mailing list