http://www.nsnam.org/bugzilla/show_bug.cgi?id=635
Attached you may find a patch for adding a WillDrop method to the
Queue class
API. The patch applies to the DropTailQueue class also.
I added this method as I need to do actions right before a packet is
going to
be dropped. I guess this might be a common situation for some sort of
protocol
developments.
However, this method is added to Queue class, meaning that all other
queuing classes must implement this method before being constructable.
Don't know if you have any comments on this.