Home
last modified time | relevance | path

Searched refs:mac (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.8/kernel/src/driver/net/
Dmod.rs15 fn mac(&self) -> EthernetAddress; in mac() method
Dvirtio_net.rs227 let mac = smoltcp::wire::EthernetAddress::from_bytes(&driver_net.mac_address()); in virtio_net() localVariable
235 mac in virtio_net()
246 fn mac(&self) -> smoltcp::wire::EthernetAddress { in mac() method
247 let mac: [u8; 6] = self.driver.inner.lock().mac_address(); in mac() localVariable
248 return smoltcp::wire::EthernetAddress::from_bytes(&mac); in mac()