Constant MAX_MTU

Source
pub const MAX_MTU: usize = 1518;
Expand description

Maximum size of a frame which can be transmitted over the underlying EthernetAdapterDatapath device.

Currently hard-coded to 1522 - 4 bytes, for an Ethernet frame with an 802.1q VLAN tag with a 1500 byte payload MTU, excluding the 4-byte FCS.