netstack3_device::pure_ip

Function get_mtu

Source
pub fn get_mtu<CC: PureIpDeviceStateContext>(
    core_ctx: &mut CC,
    device_id: &CC::DeviceId,
) -> Mtu
Expand description

Gets the MTU of the given PureIpDevice.