Searched refs:sockets (Results 1 – 4 of 4) sorted by relevance
52 let mut sockets = smoltcp::iface::SocketSet::new(vec![]); in dhcp_query() localVariable53 let dhcp_handle = sockets.add(dhcp_socket); in dhcp_query()58 let _flag = net_face.poll(&mut sockets); in dhcp_query()59 let event = sockets.get_mut::<dhcpv4::Socket>(dhcp_handle).poll(); in dhcp_query()122 let mut sockets = SOCKET_SET.lock(); in poll_ifaces() localVariable124 iface.poll(&mut sockets).ok(); in poll_ifaces()143 let sockets = SOCKET_SET.try_lock(); in poll_ifaces_try_lock() localVariable145 if sockets.is_err() { in poll_ifaces_try_lock()150 let mut sockets = sockets.unwrap(); in poll_ifaces_try_lock() localVariable152 iface.poll(&mut sockets).ok(); in poll_ifaces_try_lock()
431 let mut sockets = SOCKET_SET.lock(); in bind() localVariable432 let socket = sockets.get_mut::<udp::Socket>(self.handle.0); in bind()438 let sockets = SOCKET_SET.lock(); in poll() localVariable439 let socket = sockets.get::<udp::Socket>(self.handle.0); in poll()472 let sockets = SOCKET_SET.lock(); in endpoint() localVariable473 let socket = sockets.get::<udp::Socket>(self.handle.0); in endpoint()667 let mut sockets = SOCKET_SET.lock(); in connect() localVariable668 let socket = sockets.get_mut::<tcp::Socket>(self.handle.0); in connect()683 drop(sockets); in connect()686 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()