Skip to main content

MAX_PACKET_NUMBER_DISTANCE

Constant MAX_PACKET_NUMBER_DISTANCE 

pub const MAX_PACKET_NUMBER_DISTANCE: u64 = _ /* 2_147_483_647u64 */;
Available on crate feature quic only.
Expand description

How far past the largest acknowledged packet a packet number can still be sent: its 4-byte encoding must cover twice that distance (RFC 9000 §17.1).