netstack3_device::ethernet

Function get_mtu

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

Get the MTU associated with this device.