netstack3_device::pure_ip

Function set_mtu

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

Updates the MTU of the given PureIpDevice.