Commit Graph

13 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
Mohit Goyal
811962d3e0 SetGroupName for network module 2015-03-27 07:03:58 -07:00
Peter D. Barnes, Jr.
4cb9c7b916 TracedCallback function signatures, the simple ones.
These are TracedCallback function signatures for traces sources
using a single argument.
2014-10-03 02:24:42 -07:00
Peter D. Barnes, Jr.
bfdb6ef10a [Bug 1551] Redux: NS_LOG_COMPONENT_DEFINE inside or outside of ns3 namespace? 2014-09-26 15:51:00 -07:00
Peter D. Barnes, Jr.
cd3da7143d [doxygen] Revert r10410, r10411, r10412 2014-03-05 17:06:59 -08:00
Peter D. Barnes, Jr.
d75ff3559e doxygen] Suppress "warning: Member NS_OBJECT_ENSURE_REGISTERED is not documented" 2013-11-14 16:58:28 -08:00
Maja Grubišić
6c6e275ec2 Clean up function logging of network module. 2012-11-16 22:27:18 +01:00
Tom Henderson
2a2690a003 rerun check-style.py at default level to enforce space after function name 2011-05-22 23:18:47 -07:00
Josh Pelkey
30fd9b6bee network coding style changes 2011-05-13 14:57:43 -04:00
Tom Henderson
ca7b93cc3d Merge node and common modules into new network module 2011-02-21 09:11:37 -08:00