enqueue
Adds a packet, or a chain of packets, to the queue.
Declaration
virtual UInt32 enqueue(
mbuf_tm,
void *param) = 0;Parameters
- m:
A single packet, or a chain of packets.
- param:
A parameter provided by the caller.
Return Value
Returns a return code.
Overview
This method is called by a client to add a packet, or a chain of packets, to the queue. A packet is described by an mbuf chain, while a chain of packets is constructed by linking multiple mbuf chains via the m_nextpkt field.