Commit Graph

12 Commits

Author SHA1 Message Date
Stefano Avallone
8754a59cb6 network: Add a Remove method to the Queue base class 2016-05-19 00:14:29 +02:00
Stefano Avallone
500ef9f4a6 traffic-control: (fixes #2389) Internal queues need to notify their queue disc of packet drops 2016-05-11 12:10:02 +02:00
Pasquale Imputato
c6e5ecc191 network: The Queue base class holds mode, maxPackets and maxBytes
...so that all the subclasses have such attributes. This
allows queue discs to have attributes specifying the mode and
size of their queue(s) and to create queues using their
own attributes.

This commit is heavily inspired by Natale's queue rework patch:
https://codereview.appspot.com/270540044/
2016-03-08 10:45:36 -08:00
Stefano Avallone
df2fa95970 network: Make Queue store QueueItem objects
A QueueItem base class is introduced to represent the items stored
in a Queue. The base class only contains a Ptr<Packet>. Derived classes
can store additional information. DropTailQueue, RedQueue and CodelQueue,
along with their examples and testsuits, have been adapted. Objects using
such queues have been adapted too.
2016-03-08 10:44:03 -08:00
Natale Patriciello
b27422fb2f Bug 2070 - Wrong report of Packets and Bytes stored in CoDeL 2015-03-01 12:08:36 +01:00
Tommaso Pecorella
19db0e31cb [Doxygen] network module 2014-03-13 09:29:47 +01:00
Brian Swenson
4c879da5c3 Network Doxygen warnings start 2013-11-15 16:20:58 -05:00
Vedran Miletić
b5cac1da24 Use longer names for QueueMode and ErrorUnit enums and move them to Queue and RateErrorModel classes respectively. 2012-05-01 20:48:34 +02:00
Vedran Miletić
0538e655aa standardize ns-3 namespace declaration format 2011-08-02 17:43:32 -04:00
Josh Pelkey
30fd9b6bee network coding style changes 2011-05-13 14:57:43 -04:00
Mitch Watrous
c088777e03 Fix doxygen groups for some new modules 2011-05-10 17:56:47 -07:00
Tom Henderson
ca7b93cc3d Merge node and common modules into new network module 2011-02-21 09:11:37 -08:00