[Ns-bugs] [Bug 635] New: Added virtual bool WillDrop (Ptr<Packet> p) const = 0 to Queue class

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Fri Jul 10 06:01:36 PDT 2009


http://www.nsnam.org/bugzilla/show_bug.cgi?id=635

           Summary: Added virtual bool WillDrop (Ptr<Packet> p) const = 0 to
                    Queue class
           Product: ns-3
           Version: ns-3-dev
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: feature-request, patch
          Severity: enhancement
          Priority: P5
         Component: node module
        AssignedTo: ns-bugs at isi.edu
        ReportedBy: wilsonwk at ee.cityu.edu.hk
   Estimated Hours: 0.0


Attached you may find a patch for adding a WillDrop method to the Queue class
API. The patch applies to the DropTailQueue API and implementation 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.

See if you have any comments.


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Ns-bugs mailing list