[ns] ifq length is always zero

2008-09-25 Thread Amita Singh

  



To: ns-users@isi.edu


[ns] ifq length is always zero

2008-09-23 Thread Amita Singh

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