Lines Matching refs:handle
95 handle: Arc<GlobalSocketHandle>, in get_port()
105 None => listen_table_guard.insert(port, handle), in get_port()
136 pub fn new(handle: SocketHandle) -> Arc<Self> { in new()
137 return Arc::new(Self(handle)); in new()
222 handle: Arc<GlobalSocketHandle>, field
263 let handle: Arc<GlobalSocketHandle> = in new() localVariable
275 handle, in new()
288 let socket = socket_set_guard.get_mut::<raw::Socket>(self.handle.0); in read()
318 let socket = socket_set_guard.get_mut::<raw::Socket>(self.handle.0); in write()
333 socket_set_guard.get_mut::<raw::Socket>(self.handle.0); in write()
409 pub handle: Arc<GlobalSocketHandle>, field
440 let handle: Arc<GlobalSocketHandle> = in new() localVariable
452 handle, in new()
461 PORT_MANAGER.get_port(self.metadata.socket_type, ip.port, self.handle.clone())?; in do_bind()
486 let socket = socket_set_guard.get_mut::<udp::Socket>(self.handle.0); in read()
521 let socket = socket_set_guard.get_mut::<udp::Socket>(self.handle.0); in write()
566 let socket = sockets.get_mut::<udp::Socket>(self.handle.0); in bind()
573 let socket = sockets.get::<udp::Socket>(self.handle.0); in poll()
607 let socket = sockets.get::<udp::Socket>(self.handle.0); in endpoint()
636 handle: Arc<GlobalSocketHandle>, field
662 let handle: Arc<GlobalSocketHandle> = in new() localVariable
674 handle, in new()
715 let socket = socket_set_guard.get_mut::<tcp::Socket>(self.handle.0); in read()
762 let socket = socket_set_guard.get_mut::<tcp::Socket>(self.handle.0); in write()
788 let socket = socket_set_guard.get_mut::<tcp::Socket>(self.handle.0); in poll()
811 let socket = sockets.get_mut::<tcp::Socket>(self.handle.0); in connect()
830 let socket = sockets.get_mut::<tcp::Socket>(self.handle.0); in connect()
870 let socket = sockets.get_mut::<tcp::Socket>(self.handle.0); in listen()
887 PORT_MANAGER.get_port(self.metadata.socket_type, ip.port, self.handle.clone())?; in bind()
898 let socket = sockets.get_mut::<tcp::Socket>(self.handle.0); in shutdown()
911 let socket = sockets.get_mut::<tcp::Socket>(self.handle.0); in accept()
932 let old_handle = ::core::mem::replace(&mut self.handle, new_handle); in accept()
943 handle: old_handle, in accept()
967 let socket = sockets.get::<tcp::Socket>(self.handle.0); in endpoint()
977 let socket = sockets.get::<tcp::Socket>(self.handle.0); in peer_endpoint()