Contents

enqueue(mbuf_t)

Adds a chain of packets to the tail of the queue.

Declaration

virtual bool enqueue(
 mbuf_tm);

Parameters

  • m:

    A chain of packets to add to the tail of the queue.

Return Value

Returns true on success, or false to indicate over-capacity and refusal to accept the packet chain provided.

Overview

Packets are not added if the size of the queue has reached its capacity.

See Also

Miscellaneous