Skip to main content

MAX_SESSION_MTU

Constant MAX_SESSION_MTU 

Source
pub const MAX_SESSION_MTU: usize = 1452;
Expand description

Maximum Session MTU even if the HOPR packet allows for more.

Based on GnosisVPN (gnosis_vpn-lib/src/wireguard.rs:9) with a 1420-byte WG tunnel MTU, whose padding is capped at that MTU, plus a 16-byte transport header and a 16-byte authentication tag.