Function netstack3_device::ethernet::set_mtu
source · pub fn set_mtu<BC: EthernetIpLinkDeviceBindingsContext, CC: EthernetIpLinkDeviceDynamicStateContext<BC>>(
core_ctx: &mut CC,
device_id: &CC::DeviceId,
mtu: Mtu,
)
Expand description
Sets device_id
’s MTU.