xarxa

Crates

git

Versions

default

Flavors

Skip to main content

NEIGHBOR_CACHE_COUNT

Constant NEIGHBOR_CACHE_COUNT 

Source
pub const NEIGHBOR_CACHE_COUNT: usize = raw::NEIGHBOR_CACHE_COUNT; // 8usize
Expand description

Max neighbors the stack remembers at once, across all interfaces.

The cache holds the hardware address of each neighbor, learned from ARP or NDISC. When it is full, learning a neighbor evicts another one, preferring entries whose resolution has already finished.

This is a limit with and without alloc. Default: 8.