Lines Matching refs:sockets
393 let mut sockets = SOCKET_SET.lock_irqsave(); in bind() localVariable
394 let socket = sockets.get_mut::<udp::Socket>(self.handle.0); in bind()
400 let sockets = SOCKET_SET.lock_irqsave(); in poll() localVariable
401 let socket = sockets.get::<udp::Socket>(self.handle.0); in poll()
441 let sockets = SOCKET_SET.lock_irqsave(); in endpoint() localVariable
442 let socket = sockets.get::<udp::Socket>(self.handle.0); in endpoint()
677 let mut sockets = SOCKET_SET.lock_irqsave(); in connect() localVariable
678 let socket = sockets.get_mut::<tcp::Socket>(self.handle.0); in connect()
695 drop(sockets); in connect()
698 let mut sockets = SOCKET_SET.lock_irqsave(); in connect() localVariable
699 let socket = sockets.get_mut::<tcp::Socket>(self.handle.0); in connect()
706 drop(sockets); in connect()
741 let mut sockets = SOCKET_SET.lock_irqsave(); in listen() localVariable
742 let socket = sockets.get_mut::<tcp::Socket>(self.handle.0); in listen()
784 let mut sockets = SOCKET_SET.lock_irqsave(); in accept() localVariable
786 let socket = sockets.get_mut::<tcp::Socket>(self.handle.0); in accept()
805 let new_handle = GlobalSocketHandle::new(sockets.add(tcp_socket)); in accept()
846 drop(sockets); in accept()
851 drop(sockets); in accept()
866 let sockets = SOCKET_SET.lock_irqsave(); in endpoint() localVariable
867 let socket = sockets.get::<tcp::Socket>(self.handle.0); in endpoint()
876 let sockets = SOCKET_SET.lock_irqsave(); in peer_endpoint() localVariable
877 let socket = sockets.get::<tcp::Socket>(self.handle.0); in peer_endpoint()