Searched refs:EthernetAddress (Results 1 – 4 of 4) sorted by relevance
/DragonOS/kernel/src/driver/net/ |
H A D | mod.rs | 4 wire::{self, EthernetAddress}, 57 fn mac(&self) -> EthernetAddress; in mac() argument
|
H A D | loopback.rs | 275 smoltcp::wire::EthernetAddress([0x02, 0x00, 0x00, 0x00, 0x00, 0x01]), in new() 446 fn mac(&self) -> smoltcp::wire::EthernetAddress { in mac() argument 448 smoltcp::wire::EthernetAddress(mac) in mac()
|
H A D | virtio_net.rs | 108 let mac = wire::EthernetAddress::from_bytes(&driver_net.mac_address()); in new() 404 wire::EthernetAddress(device_inner.inner.lock().mac_address()), in new() 516 wire::EthernetAddress(driver_net.mac_address()), in new() 634 fn mac(&self) -> wire::EthernetAddress { in mac() argument 636 return wire::EthernetAddress::from_bytes(&mac); in mac()
|
/DragonOS/kernel/src/driver/net/e1000e/ |
H A D | e1000e_driver.rs | 128 smoltcp::wire::EthernetAddress(device.mac_address()), in new() 197 smoltcp::wire::EthernetAddress(driver.inner.lock().mac_address()), in new() 306 fn mac(&self) -> smoltcp::wire::EthernetAddress { in mac() argument 308 return smoltcp::wire::EthernetAddress::from_bytes(&mac); in mac() 438 let mac = smoltcp::wire::EthernetAddress::from_bytes(&device.mac_address()); in e1000e_driver_init()
|