[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] can WFQ module be used in the duplex-intserv-link?



Dear ns-users,
  I have used the WFQ in my Tcl script as following,
     
      $ns duplex-intserv-link $n0 $n1 $bandwidth 1ms WFQ SALink $adc $est CL
     
     However,the WFQ:: handle(Event *)function which updates the each queue size B[queueid] is never been called.So the value of B[queueid] increases forever.When I try the example.tcl, this function can be called whenever a packet dequeues. In the example.tcl the WFQ is installed in simplex-link.So I am wondering whether the WFQ module can be used in the duplex-intserv-link.Does any one have such experience? Thanks your help very much.This probem has struct me for the whole week.
   And, I just want to know the each queue size B[queueid] for use in Admission class during simulation.How can I get the handle of the WFQ queue? Are there other ways I can get this value in Admission class(ms-adc.cc)?
   Thanks,
Best regards,
Liu yong
 

  
Best Regards,
  liu yong
  [email protected]