26 .SetGroupName(
"TrafficControl")
mq is a classful multi-queue aware dummy scheduler.
Ptr< QueueDiscItem > DoDequeue() override
This function actually extracts a packet from the queue disc.
Ptr< const QueueDiscItem > DoPeek() override
Return a copy of the next packet the queue disc will extract.
void InitializeParams() override
Initialize parameters (if any) before the first packet is enqueued.
MqQueueDisc()
MqQueueDisc constructor.
static TypeId GetTypeId()
Get the type ID.
bool DoEnqueue(Ptr< QueueDiscItem > item) override
This function actually enqueues a packet into the queue disc.
bool CheckConfig() override
Check whether the current configuration is correct.
WakeMode GetWakeMode() const override
Return the wake mode adopted by this queue disc.
Smart pointer class similar to boost::intrusive_ptr.
QueueDisc is an abstract base class providing the interface and implementing the operations common to...
WakeMode
Used to determine whether the queue disc itself or its children must be activated when a netdevice wa...
std::size_t GetNPacketFilters() const
Get the number of packet filters.
std::size_t GetNInternalQueues() const
Get the number of internal queues.
a unique identifier for an interface.
TypeId SetParent(TypeId tid)
Set the parent TypeId.
#define NS_FATAL_ERROR(msg)
Report a fatal error with a message and terminate.
#define NS_LOG_ERROR(msg)
Use NS_LOG to output a message of level LOG_ERROR.
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by ",...
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
QueueDiscSizePolicy
Enumeration of the available policies to handle the queue disc size.
@ NO_LIMITS
Used by queue discs with unlimited size.
Every class exported by the ns3 library is enclosed in the ns3 namespace.