Contents

lockDequeueAll

Removes all packets from a synchronized queue and returns the head of the packet chain.

Declaration

virtual mbuf_t lockDequeueAll();

Return Value

Returns the head of a packet chain linking all packets that were held in the queue, or NULL if the queue was empty.

Overview

The size of the queue is cleared to zero. A spinlock is used to synchronize access to the queue.

See Also

Miscellaneous