netstack3_device::ethernet

Function get_mac

Source
pub fn get_mac<'a, BC: EthernetIpLinkDeviceBindingsContext, CC: EthernetIpLinkDeviceDynamicStateContext<BC>>(
    core_ctx: &'a mut CC,
    device_id: &CC::DeviceId,
) -> UnicastAddr<Mac>
Expand description

Gets device_id’s MAC address.