Skip to main content

Module mtu

Module mtu 

Source
Expand description

Bounded MTU negotiation for QDNF bearers.

Negotiated MTU is min(local, remote) clamped to [MIN_QDNF_MTU, MAX_QDNF_MTU]. Jumbo advertisements are reduced; too-small advertisements fail closed. Oversize payload without fragmentation is QdnfError::Capacity.

Constants§

DEFAULT_QDNF_MTU
Default advertised MTU when the adapter has not reported one.
MAX_QDNF_MTU
Ethernet-II payload ceiling without jumbo frames.
MIN_QDNF_MTU
Conservative floor (IPv6 minimum). Below this, PQ handshake fragments cannot be negotiated honestly.

Functions§

interface_loss_error
Interface loss: closed adapter vs platform that never had a bearer.
negotiate_mtu
?::negotiate_mtu.
reconnect_requires_new_admission
Reconnect after loss never reuses a prior fragment admission.
unfragmented_fit
Oversize application/handshake bytes on a single unfragmented frame.