Home
last modified time | relevance | path

Searched refs:NetDriver (Results 1 – 5 of 5) sorted by relevance

/DragonOS-0.1.7/kernel/src/net/
Dnet_core.rs5 driver::net::NetDriver,
117 let guard: RwLockReadGuard<BTreeMap<usize, Arc<dyn NetDriver>>> = NET_DRIVERS.read(); in poll_ifaces()
137 let guard: RwLockReadGuard<BTreeMap<usize, Arc<dyn NetDriver>>> = NET_DRIVERS.read(); in poll_ifaces_try_lock()
Dmod.rs8 use crate::{driver::net::NetDriver, kwarn, libs::rwlock::RwLock, syscall::SystemError};
20 …pub static ref NET_DRIVERS: RwLock<BTreeMap<usize, Arc<dyn NetDriver>>> = RwLock::new(BTreeMap::ne…
Dsocket.rs11 driver::net::NetDriver,
673 let iface: Arc<dyn NetDriver> = NET_DRIVERS.write().get(&0).unwrap().clone(); in connect()
/DragonOS-0.1.7/kernel/src/driver/net/
Dmod.rs13 pub trait NetDriver: Driver { interface
Dvirtio_net.rs20 use super::NetDriver;
245 impl<T: Transport> NetDriver for VirtioInterface<T> {