Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/net/
Dsyscall.rs30 pub fn socket( in socket() method
39 let socket: Box<dyn Socket> = match address_family { in socket() localVariable
84 let socket: SpinLockGuard<Box<dyn Socket>> = socket_inode.inner(); in setsockopt() localVariable
109 let socket = binding.inner(); in getsockopt() localVariable
169 let socket: Arc<SocketInode> = current_pcb() in connect() localVariable
172 let mut socket = socket.inner(); in connect() localVariable
187 let socket: Arc<SocketInode> = current_pcb() in bind() localVariable
190 let mut socket = socket.inner(); in bind() localVariable
217 let socket: Arc<SocketInode> = current_pcb() in sendto() localVariable
220 let socket = socket.inner(); in sendto() localVariable
[all …]
Dsocket.rs255 let socket = raw::Socket::new( in new() localVariable
288 let socket = socket_set_guard.get_mut::<raw::Socket>(self.handle.0); in read() localVariable
318 let socket = socket_set_guard.get_mut::<raw::Socket>(self.handle.0); in write() localVariable
332 let socket: &mut raw::Socket = in write() localVariable
437 let socket = udp::Socket::new(tx_buffer, rx_buffer); in new() localVariable
486 let socket = socket_set_guard.get_mut::<udp::Socket>(self.handle.0); in read() localVariable
521 let socket = socket_set_guard.get_mut::<udp::Socket>(self.handle.0); in write() localVariable
566 let socket = sockets.get_mut::<udp::Socket>(self.handle.0); in bind() localVariable
573 let socket = sockets.get::<udp::Socket>(self.handle.0); in poll() localVariable
607 let socket = sockets.get::<udp::Socket>(self.handle.0); in endpoint() localVariable
[all …]
Dmod.rs15 pub mod socket; module
/DragonOS-0.1.8/kernel/src/process/
Dprocess.rs310 let socket: Arc<SocketInode> = f in get_socket() localVariable