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

[ns] Question abt IFQ/PriQueue



Hi Everyone,
I have a question regarding the implementation if the IFQ in Wireless Ad
Hoc nodes:

In the source code of priqueue.cc there is a function called as
terminate(), which is supposed to purge the IFQ at the end of the
simulation. In the function, there is just a drop routine which seems to
drop all the packets in the queue at the end of the simulation. 

Does the actual implementation of the Priqueue ensure that all packets in
the queue at the end of the simulation are dropped and are these dropped
packets logged in the tracefile ( the new trace)??..If not, where do I
make changes in the souce code to implement this feature of the IFQ??

Thanks and Regards..

Sheetalkumar Doshi
Graduate Student/Teaching Assistant
Department of Electrical and Computer Engineering
University Of Colorado at Boulder

*****************************************************
http://ucsub.Colorado.EDU/~doshi
*****************************************************