Lines Matching refs:sockets

565         let mut sockets = SOCKET_SET.lock();  in bind()  localVariable
566 let socket = sockets.get_mut::<udp::Socket>(self.handle.0); in bind()
572 let sockets = SOCKET_SET.lock(); in poll() localVariable
573 let socket = sockets.get::<udp::Socket>(self.handle.0); in poll()
606 let sockets = SOCKET_SET.lock(); in endpoint() localVariable
607 let socket = sockets.get::<udp::Socket>(self.handle.0); in endpoint()
810 let mut sockets = SOCKET_SET.lock(); in connect() localVariable
811 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
830 let socket = sockets.get_mut::<tcp::Socket>(self.handle.0); in connect()
838 drop(sockets); in connect()
869 let mut sockets = SOCKET_SET.lock(); in listen() localVariable
870 let socket = sockets.get_mut::<tcp::Socket>(self.handle.0); in listen()
897 let mut sockets = SOCKET_SET.lock(); in shutdown() localVariable
898 let socket = sockets.get_mut::<tcp::Socket>(self.handle.0); in shutdown()
909 let mut sockets = SOCKET_SET.lock(); in accept() localVariable
911 let socket = sockets.get_mut::<tcp::Socket>(self.handle.0); in accept()
931 let new_handle = GlobalSocketHandle::new(sockets.add(tcp_socket)); in accept()
950 drop(sockets); in accept()
956 drop(sockets); in accept()
966 let sockets = SOCKET_SET.lock(); in endpoint() localVariable
967 let socket = sockets.get::<tcp::Socket>(self.handle.0); in endpoint()
976 let sockets = SOCKET_SET.lock(); in peer_endpoint() localVariable
977 let socket = sockets.get::<tcp::Socket>(self.handle.0); in peer_endpoint()