Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/src/net/socket/
Dmod.rs60 ) -> Result<Box<dyn Socket>, SystemError> { in new_socket()
86 pub trait Socket: Sync + Send + Debug + Any { interface
156 fn accept(&mut self) -> Result<(Box<dyn Socket>, Endpoint), SystemError> { in accept()
214 fn box_clone(&self) -> Box<dyn Socket>; in box_clone()
276 fn clone(&self) -> Box<dyn Socket> { in clone()
283 fn socketpair(&self, socket0: &mut Box<dyn Socket>, socket1: &mut Box<dyn Socket>); in socketpair()
296 pub fn inner(&self) -> SpinLockGuard<Box<dyn Socket>> { in inner()
300 pub unsafe fn inner_no_preempt(&self) -> SpinLockGuard<Box<dyn Socket>> { in inner_no_preempt()
784 pub fn poll(socket: &socket::Socket, shutdown: ShutdownType) -> EPollEventType { in poll()
792 pub fn tcp_poll(socket: &tcp::Socket, shutdown: ShutdownType) -> EPollEventType { in tcp_poll()
[all …]
Dsockets.rs215 fn box_clone(&self) -> Box<dyn Socket> { in box_clone()
277 fn do_bind(&self, socket: &mut udp::Socket, endpoint: Endpoint) -> Result<(), SystemError> { in do_bind()
436 fn box_clone(&self) -> Box<dyn Socket> { in box_clone()
524 socket: &mut tcp::Socket, in do_listen()
778 fn accept(&mut self) -> Result<(Box<dyn Socket>, Endpoint), SystemError> { in accept()
885 fn box_clone(&self) -> Box<dyn Socket> { in box_clone()
984 fn box_clone(&self) -> Box<dyn Socket> { in box_clone()
992 fn socketpair(&self, socket0: &mut Box<dyn Socket>, socket1: &mut Box<dyn Socket>) { in socketpair()
/DragonOS-0.1.9/kernel/src/filesystem/vfs/
Dmod.rs52 Socket, enumerator