DequeuePackets
Retrieves multiple network packets from the queue.
Declaration
virtual uint32_t DequeuePackets(IOUserNetworkPacket **packets, uint32_t maxDequeueCount);Parameters
- packets:
On return, an array containing the next available packets.
- maxDequeueCount:
The number of packets you want to dequeue.
Return Value
The actual number of packets returned in the packets parameter.
Discussion
Call this method to retrieve multiple packets from the submission queue. This method returns as many packets as are available, up to the maximum number you specify.