Searched refs:iface (Results 1 – 5 of 5) sorted by relevance
/DragonOS-0.1.8/kernel/src/driver/net/ |
D | mod.rs | 3 iface, 22 fn poll(&self, sockets: &mut iface::SocketSet) -> Result<(), SystemError>; in poll() 27 fn inner_iface(&self) -> &SpinLock<smoltcp::iface::Interface>; in inner_iface()
|
D | virtio_net.rs | 69 iface: SpinLock<smoltcp::iface::Interface>, field 87 let mut iface_config = smoltcp::iface::Config::new(); in new() 96 let iface = smoltcp::iface::Interface::new(iface_config, &mut driver); in new() localVariable 102 iface: SpinLock::new(iface), in new() 112 let mut iface_config = smoltcp::iface::Config::new(); in new() 229 let iface = VirtioInterface::new(driver); in virtio_net() localVariable 231 NET_DRIVERS.write().insert(iface.nic_id(), iface.clone()); in virtio_net() 234 iface.name(), in virtio_net() 266 self.iface.lock().update_ip_addrs(|addrs| { in update_ip_addrs() 280 sockets: &mut smoltcp::iface::SocketSet, in poll() [all …]
|
/DragonOS-0.1.8/kernel/src/net/ |
D | net_core.rs | 55 let mut sockets = smoltcp::iface::SocketSet::new(vec![]); in dhcp_query() 126 for (_, iface) in guard.iter() { in poll_ifaces() 127 iface.poll(&mut sockets).ok(); in poll_ifaces() 154 for (_, iface) in guard.iter() { in poll_ifaces_try_lock() 155 iface.poll(&mut sockets).ok(); in poll_ifaces_try_lock()
|
D | socket.rs | 5 iface::{SocketHandle, SocketSet}, 336 let iface = NET_DRIVERS.read().get(&0).unwrap().clone(); in write() localVariable 340 iface.inner_iface().lock().ipv4_addr(); in write() 376 iface.poll(&mut socket_set_guard).ok(); in write() 816 let iface: Arc<dyn NetDriver> = NET_DRIVERS.write().get(&0).unwrap().clone(); in connect() localVariable 817 let mut inner_iface = iface.inner_iface().lock(); in connect() 824 drop(iface); in connect()
|
/DragonOS-0.1.8/docs/community/ChangeLog/V0.1.x/ |
D | V0.1.7.md | 279 * 能够正常通过dhcp获取ipv4地址(具有全局iface btree)
|