Lines Matching refs:iface
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()
283 let mut guard = self.iface.lock(); in poll()
294 fn inner_iface(&self) -> &SpinLock<smoltcp::iface::Interface> { in inner_iface()
295 return &self.iface; in inner_iface()