embassy-net

Crates

git

Versions

default

Flavors

Skip to main content

DHCP_SERVER_LEASE_COUNT

Constant DHCP_SERVER_LEASE_COUNT 

pub const DHCP_SERVER_LEASE_COUNT: usize = raw::DHCP_SERVER_LEASE_COUNT; // 8usize
Expand description

Max leases the DHCP server keeps per interface.

Only used with the dhcpv4-server feature. This bounds how many clients can hold an address at once. Expired and released leases stay in the table as records until a new client needs their slot.

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