pub trait IpDeviceMtuContext<I: Ip>: DeviceIdContext<AnyDevice> { // Required method fn get_mtu(&mut self, device_id: &Self::DeviceId) -> Mtu; }
Provides access to an IP device’s MTU for the IP layer.
Returns the MTU of the device.
The MTU is the maximum size of an IP packet.