enqueue
Adds a packet, or a chain of packets, to the queue.
Declaration
virtual UInt32 enqueue(
mbuf_tm,
void *param);Parameters
- m:
A single packet, or a chain of packets.
- param:
A parameter provided by the caller.
Return Value
Always returns 0.
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. This method can be called by multiple client threads.
See Also
Miscellaneous
flushfreegetCapacitygetDropCountgetOutputCountgetRetryCountgetSizegetStallCountgetStategetStatisticsDatahandleNetworkDataAccessinitoutputserviceserviceThreadsetCapacitystartstopwithTarget(IONetworkController *, UInt32)withTarget(IONetworkController *, UInt32, UInt32)withTarget(OSObject *, IOOutputAction, UInt32)withTarget(OSObject *, IOOutputAction, UInt32, UInt32)