Constant NEIGHBOR_CACHE_COUNT
pub const NEIGHBOR_CACHE_COUNT: usize = raw::NEIGHBOR_CACHE_COUNT /* 8usize */;Expand description
Max neighbors the stack remembers, 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.
Each entry also holds one packet for its neighbor while it is resolved, so this bounds the packets waiting for resolution too.
This is a limit with and without alloc. Default: 8.