xarxa-driver

Crates

git

Versions

default

Flavors

Skip to main content

PACKET_BUF_COUNT

Constant PACKET_BUF_COUNT 

Source
pub const PACKET_BUF_COUNT: usize = raw::PACKET_BUF_COUNT; // 16usize
Expand description

Number of buffers in the packet pool.

Every packet in flight takes one buffer: in a driver’s receive ring, in a socket’s queue, being reassembled, or parked waiting for a neighbor. When they are all in use, PacketBuf::try_new fails and packets are dropped.

Default: 16.