Home
last modified time | relevance | path

Searched refs:iface_config (Results 1 – 3 of 3) sorted by relevance

/DragonOS/kernel/src/driver/net/e1000e/
H A De1000e_driver.rs127 let mut iface_config = smoltcp::iface::Config::new(HardwareAddress::Ethernet( in new() localVariable
131 iface_config.random_seed = rand() as u64; in new()
196 let mut iface_config = smoltcp::iface::Config::new(HardwareAddress::Ethernet( in new() localVariable
199 iface_config.random_seed = rand() as u64; in new()
202 smoltcp::iface::Interface::new(iface_config, &mut driver, Instant::now().into()); in new()
/DragonOS/kernel/src/driver/net/
H A Dloopback.rs274 let mut iface_config = smoltcp::iface::Config::new(HardwareAddress::Ethernet( in new() localVariable
277 iface_config.random_seed = rand() as u64; in new()
280 smoltcp::iface::Interface::new(iface_config, &mut driver, Instant::now().into()); in new()
H A Dvirtio_net.rs403 let mut iface_config = iface::Config::new(wire::HardwareAddress::Ethernet( in new() localVariable
406 iface_config.random_seed = rand() as u64; in new()
408 let iface = iface::Interface::new(iface_config, &mut device_inner, Instant::now().into()); in new()
515 let mut iface_config = iface::Config::new(wire::HardwareAddress::Ethernet( in new() localVariable
519 iface_config.random_seed = rand() as u64; in new()