Lines Matching refs:sockets
15 socket::{sockets::TcpSocket, HANDLE_MAP, SOCKET_SET},
128 let mut sockets = SOCKET_SET.lock_irqsave(); in poll_ifaces() localVariable
130 iface.poll(&mut sockets).ok(); in poll_ifaces()
132 let _ = send_event(&sockets); in poll_ifaces()
150 let sockets = SOCKET_SET.try_lock_irqsave(); in poll_ifaces_try_lock() localVariable
152 if sockets.is_err() { in poll_ifaces_try_lock()
157 let mut sockets = sockets.unwrap(); in poll_ifaces_try_lock() localVariable
159 iface.poll(&mut sockets).ok(); in poll_ifaces_try_lock()
161 send_event(&sockets)?; in poll_ifaces_try_lock()
181 let mut sockets = SOCKET_SET.try_lock_irqsave()?; in poll_ifaces_try_lock_onetime() localVariable
183 iface.poll(&mut sockets).ok(); in poll_ifaces_try_lock_onetime()
185 send_event(&sockets)?; in poll_ifaces_try_lock_onetime()
190 fn send_event(sockets: &smoltcp::iface::SocketSet) -> Result<(), SystemError> { in send_event()
191 for (handle, socket_type) in sockets.iter() { in send_event()