Function netstack3_device::ethernet::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.