A Discrete-Event Network Simulator
API
Traffic Control model
+ Collaboration diagram for Traffic Control model:

Modules

 traffic-control module tests
 

Classes

class  ns3::ArpQueueDiscItem
 ArpQueueDiscItem is a subclass of QueueDiscItem which stores ARP packets. More...
 
class  ns3::CobaltQueueDisc
 Cobalt packet queue disc. More...
 
class  ns3::CoDelQueueDisc
 A CoDel packet queue disc. More...
 
class  ns3::FifoQueueDisc
 Simple queue disc implementing the FIFO (First-In First-Out) policy. More...
 
class  ns3::FqCobaltFlow
 A flow queue used by the FqCobalt queue disc. More...
 
class  ns3::FqCobaltQueueDisc
 A FqCobalt packet queue disc. More...
 
class  ns3::FqCoDelFlow
 A flow queue used by the FqCoDel queue disc. More...
 
class  ns3::FqCoDelQueueDisc
 A FqCoDel packet queue disc. More...
 
class  ns3::FqPieFlow
 A flow queue used by the FqPie queue disc. More...
 
class  ns3::FqPieQueueDisc
 A FqPie packet queue disc. More...
 
class  ns3::Ipv4PacketFilter
 Ipv4PacketFilter is the abstract base class for filters defined for IPv4 packets. More...
 
class  ns3::Ipv4QueueDiscItem
 Ipv4QueueDiscItem is a subclass of QueueDiscItem which stores IPv4 packets. More...
 
class  ns3::Ipv6PacketFilter
 Ipv6PacketFilter is the abstract base class for filters defined for IPv6 packets. More...
 
class  ns3::Ipv6QueueDiscItem
 Ipv6QueueDiscItem is a subclass of QueueDiscItem which stores IPv6 packets. More...
 
class  ns3::MqQueueDisc
 mq is a classful multi-queue aware dummy scheduler. More...
 
class  ns3::PacketFilter
 PacketFilter is the abstract base class for filters used by queue discs to classify packets. More...
 
class  ns3::PfifoFastQueueDisc
 Linux pfifo_fast is the default priority queue enabled on Linux systems. More...
 
class  ns3::PieQueueDisc
 Implements PIE Active Queue Management discipline. More...
 
class  ns3::PrioQueueDisc
 The Prio qdisc is a simple classful queueing discipline that contains an arbitrary number of classes of differing priority. More...
 
class  ns3::QKDKMSQueueLogic
 Linux pfifo_fast is the default priority queue enabled on Linux systems. More...
 
class  ns3::QueueDisc
 QueueDisc is an abstract base class providing the interface and implementing the operations common to all the queueing disciplines. More...
 
class  ns3::QueueDiscClass
 QueueDiscClass is the base class for classes that are included in a queue disc. More...
 
class  ns3::QueueDiscContainer
 Holds a vector of ns3::QueueDisc pointers. More...
 
class  ns3::QueueDiscFactory
 This class stores object factories required to create a queue disc and all of its components (packet filters, internal queues, classes). More...
 
class  ns3::RedQueueDisc
 A RED packet queue disc. More...
 
class  ns3::TbfQueueDisc
 A TBF packet queue disc. More...
 
class  ns3::TrafficControlHelper
 Build a set of QueueDisc objects. More...
 
class  ns3::TrafficControlLayer
 The Traffic Control layer aims at introducing an equivalent of the Linux Traffic Control infrastructure into ns-3. More...
 

Enumerations

enum  ns3::QueueDiscSizePolicy { ns3::SINGLE_INTERNAL_QUEUE , ns3::SINGLE_CHILD_QUEUE_DISC , ns3::MULTIPLE_QUEUES , ns3::NO_LIMITS }
 Enumeration of the available policies to handle the queue disc size. More...
 

Detailed Description

Enumeration Type Documentation

◆ QueueDiscSizePolicy

Enumeration of the available policies to handle the queue disc size.

  • SINGLE_INTERNAL_QUEUE is intended to handle the maxSize attribute of queue discs having a single internal queue. If no internal queue is yet attached to the queue disc, setting/getting this attribute involves setting/getting the member variable of the queue disc; otherwise, the corresponding attribute of the internal queue is set/get.
  • SINGLE_CHILD_QUEUE_DISC is intended to handle the maxSize attribute of queue discs having a single child queue disc. If no child queue disc is yet attached to the queue disc, setting/getting this attribute involves setting/getting the member variable of the queue disc; otherwise, the corresponding attribute of the child queue disc is set/get.
  • MULTIPLE_QUEUES is intended to handle the maxSize attribute of queue discs having multiple internal queues or child queue discs. Setting/getting this attribute always involves setting/getting the member variable of the queue disc. Queue discs should warn the user if a packet is dropped by an internal queue/child queue disc because of lack of space, while the queue disc limit is not exceeded.
Enumerator
SINGLE_INTERNAL_QUEUE 

Used by queue discs with single internal queue.

SINGLE_CHILD_QUEUE_DISC 

Used by queue discs with single child queue disc.

MULTIPLE_QUEUES 

Used by queue discs with multiple internal queues/child queue discs.

NO_LIMITS 

Used by queue discs with unlimited size.

Definition at line 106 of file queue-disc.h.