Lines Matching refs:sockets

431         let mut sockets = SOCKET_SET.lock();  in bind()  localVariable
432 let socket = sockets.get_mut::<udp::Socket>(self.handle.0); in bind()
438 let sockets = SOCKET_SET.lock(); in poll() localVariable
439 let socket = sockets.get::<udp::Socket>(self.handle.0); in poll()
472 let sockets = SOCKET_SET.lock(); in endpoint() localVariable
473 let socket = sockets.get::<udp::Socket>(self.handle.0); in endpoint()
667 let mut sockets = SOCKET_SET.lock(); in connect() localVariable
668 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
687 let socket = sockets.get_mut::<tcp::Socket>(self.handle.0); in connect()
695 drop(sockets); in connect()
726 let mut sockets = SOCKET_SET.lock(); in listen() localVariable
727 let socket = sockets.get_mut::<tcp::Socket>(self.handle.0); in listen()
751 let mut sockets = SOCKET_SET.lock(); in shutdown() localVariable
752 let socket = sockets.get_mut::<tcp::Socket>(self.handle.0); in shutdown()
763 let mut sockets = SOCKET_SET.lock(); in accept() localVariable
765 let socket = sockets.get_mut::<tcp::Socket>(self.handle.0); in accept()
785 let new_handle = GlobalSocketHandle::new(sockets.add(tcp_socket)); in accept()
796 drop(sockets); in accept()
802 drop(sockets); in accept()
812 let sockets = SOCKET_SET.lock(); in endpoint() localVariable
813 let socket = sockets.get::<tcp::Socket>(self.handle.0); in endpoint()
822 let sockets = SOCKET_SET.lock(); in peer_endpoint() localVariable
823 let socket = sockets.get::<tcp::Socket>(self.handle.0); in peer_endpoint()