Contents

dequeueAll

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

Declaration

virtual mbuf_t dequeueAll();

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.

See Also

Miscellaneous