35 .SetGroupName (
"TrafficControl")
89 NS_LOG_ERROR (
"MqQueueDisc cannot have internal queues");
mq is a classful multi-queue aware dummy scheduler.
WakeMode GetWakeMode(void) const
Return the wake mode adopted by this queue disc.
MqQueueDisc()
MqQueueDisc constructor.
virtual void InitializeParams(void)
Initialize parameters (if any) before the first packet is enqueued.
virtual bool DoEnqueue(Ptr< QueueDiscItem > item)
This function actually enqueues a packet into the queue disc.
virtual Ptr< const QueueDiscItem > DoPeek(void)
Return a copy of the next packet the queue disc will extract.
virtual Ptr< QueueDiscItem > DoDequeue(void)
This function actually extracts a packet from the queue disc.
virtual bool CheckConfig(void)
Check whether the current configuration is correct.
static TypeId GetTypeId(void)
Get the type ID.
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(void) const
Get the number of packet filters.
std::size_t GetNInternalQueues(void) 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.