Home
last modified time | relevance | path

Searched defs:Socket (Results 1 – 4 of 4) sorted by relevance

/DragonOS/kernel/src/net/socket/
H A Dmod.rs68 ) -> Result<Box<dyn Socket>, SystemError> { in new_socket()
97 pub trait Socket: Sync + Send + Debug + Any { trait
162 fn accept(&mut self) -> Result<(Box<dyn Socket>, Endpoint), SystemError> { in accept()
216 fn box_clone(&self) -> Box<dyn Socket>; in box_clone()
278 fn clone(&self) -> Box<dyn Socket> { in clone()
293 pub fn inner(&self) -> SpinLockGuard<Box<dyn Socket>> { in inner()
297 pub unsafe fn inner_no_preempt(&self) -> SpinLockGuard<Box<dyn Socket>> { in inner_no_preempt()
783 pub fn poll(socket: &socket::Socket, handle_item: &SocketHandleItem) -> EPollEventType { in poll()
794 socket: &tcp::Socket, in tcp_poll()
855 pub fn udp_poll(socket: &udp::Socket, shutdown: ShutdownType) -> EPollEventType { in udp_poll()
[all …]
H A Dinet.rs222 fn box_clone(&self) -> Box<dyn Socket> { in box_clone()
296 fn do_bind(&self, socket: &mut udp::Socket, endpoint: Endpoint) -> Result<(), SystemError> { in do_bind()
444 fn box_clone(&self) -> Box<dyn Socket> { in box_clone()
542 socket: &mut tcp::Socket, in do_listen()
881 fn accept(&mut self) -> Result<(Box<dyn Socket>, Endpoint), SystemError> { in accept()
995 fn box_clone(&self) -> Box<dyn Socket> { in box_clone()
H A Dunix.rs113 fn box_clone(&self) -> Box<dyn Socket> { in box_clone()
228 fn box_clone(&self) -> Box<dyn Socket> { in box_clone()
/DragonOS/kernel/src/filesystem/vfs/
H A Dmod.rs61 Socket, enumerator