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

[ns] Question abt Queue::reset()



Hi,

I have a question regd the Queue module in NS.

My understanding is that, whenever a pkt comes, Queue::recv() is called,
which inturn enques it etc..
and whenever the queue becomes unblocked, the queue handler is called,
which inturn calls Queue::resume(), which deques a pkt and send it to
the downstream neighbour.

But when is Queue:reset called ?? is it called implicitly sometime ???
Or we have to do it at the command line ? Or do we have to inculde it in
our other programs explicitly ?

Thanks

- Ganesh