Searched refs:sockets (Results 1 – 4 of 4) sorted by relevance
55 let mut sockets = smoltcp::iface::SocketSet::new(vec![]); in dhcp_query() localVariable56 let dhcp_handle = sockets.add(dhcp_socket); in dhcp_query()61 let _flag = net_face.poll(&mut sockets); in dhcp_query()62 let event = sockets.get_mut::<dhcpv4::Socket>(dhcp_handle).poll(); in dhcp_query()125 let mut sockets = SOCKET_SET.lock(); in poll_ifaces() localVariable127 iface.poll(&mut sockets).ok(); in poll_ifaces()146 let sockets = SOCKET_SET.try_lock(); in poll_ifaces_try_lock() localVariable148 if sockets.is_err() { in poll_ifaces_try_lock()153 let mut sockets = sockets.unwrap(); in poll_ifaces_try_lock() localVariable155 iface.poll(&mut sockets).ok(); in poll_ifaces_try_lock()
565 let mut sockets = SOCKET_SET.lock(); in bind() localVariable566 let socket = sockets.get_mut::<udp::Socket>(self.handle.0); in bind()572 let sockets = SOCKET_SET.lock(); in poll() localVariable573 let socket = sockets.get::<udp::Socket>(self.handle.0); in poll()606 let sockets = SOCKET_SET.lock(); in endpoint() localVariable607 let socket = sockets.get::<udp::Socket>(self.handle.0); in endpoint()810 let mut sockets = SOCKET_SET.lock(); in connect() localVariable811 let socket = sockets.get_mut::<tcp::Socket>(self.handle.0); in connect()826 drop(sockets); in connect()829 let mut sockets = SOCKET_SET.lock(); in connect() localVariable[all …]
22 fn poll(&self, sockets: &mut iface::SocketSet) -> Result<(), SystemError>; in poll()
280 sockets: &mut smoltcp::iface::SocketSet, in poll()284 let poll_res = guard.poll(timestamp, self.driver.force_get_mut(), sockets); in poll()