Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/src/net/socket/
Dsockets.rs62 let socket = raw::Socket::new( in new() localVariable
103 let socket = socket_set_guard.get_mut::<raw::Socket>(self.handle.0); in read() localVariable
136 let socket = socket_set_guard.get_mut::<raw::Socket>(self.handle.0); in write() localVariable
150 let socket: &mut raw::Socket = in write() localVariable
256 let socket = udp::Socket::new(rx_buffer, tx_buffer); in new() localVariable
313 let socket = socket_set_guard.get_mut::<udp::Socket>(self.handle.0); in read() localVariable
350 let socket = socket_set_guard.get_mut::<udp::Socket>(self.handle.0); in write() localVariable
394 let socket = sockets.get_mut::<udp::Socket>(self.handle.0); in bind() localVariable
401 let socket = sockets.get::<udp::Socket>(self.handle.0); in poll() localVariable
442 let socket = sockets.get::<udp::Socket>(self.handle.0); in endpoint() localVariable
[all …]
Dmod.rs61 let socket: Box<dyn Socket> = match address_family { in new_socket() localVariable
315 let mut socket = self.0.lock_irqsave(); in close() localVariable
/DragonOS-0.1.9/kernel/src/net/
Dsyscall.rs35 pub fn socket( in socket() method
44 let socket = new_socket(address_family, socket_type, protocol)?; in socket() localVariable
119 let socket: SpinLockGuard<Box<dyn Socket>> = socket_inode.inner(); in setsockopt() localVariable
144 let socket = binding.inner(); in getsockopt() localVariable
204 let socket: Arc<SocketInode> = ProcessManager::current_pcb() in connect() localVariable
207 let mut socket = unsafe { socket.inner_no_preempt() }; in connect() localVariable
222 let socket: Arc<SocketInode> = ProcessManager::current_pcb() in bind() localVariable
225 let mut socket = unsafe { socket.inner_no_preempt() }; in bind() localVariable
252 let socket: Arc<SocketInode> = ProcessManager::current_pcb() in sendto() localVariable
255 let socket = unsafe { socket.inner_no_preempt() }; in sendto() localVariable
[all …]
Dmod.rs13 pub mod socket; module
/DragonOS-0.1.9/kernel/src/filesystem/vfs/
Dfile.rs479 let mut socket = inode.inner(); in add_epoll() localVariable
507 let mut socket = inode.inner(); in remove_epoll() localVariable
/DragonOS-0.1.9/kernel/src/process/
Dmod.rs811 let socket: Arc<SocketInode> = guard in get_socket() localVariable