Home
last modified time | relevance | path

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

/DragonOS-0.1.8/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> {
/DragonOS-0.1.8/kernel/src/net/
Dnet_core.rs5 driver::net::NetDriver,
120 let guard: RwLockReadGuard<BTreeMap<usize, Arc<dyn NetDriver>>> = NET_DRIVERS.read(); in poll_ifaces()
140 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.rs12 driver::net::NetDriver,
816 let iface: Arc<dyn NetDriver> = NET_DRIVERS.write().get(&0).unwrap().clone(); in connect()