Home
last modified time | relevance | path

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

/DragonOS/kernel/src/net/socket/
H A Dinet.rs62 let socket = raw::Socket::new( in new() localVariable
112 let socket = in read() localVariable
142 let socket = in write() localVariable
157 let socket: &mut raw::Socket = in write() localVariable
272 let socket = udp::Socket::new(rx_buffer, tx_buffer); in new() localVariable
343 let socket = in read() localVariable
377 let socket = socket_set_guard.get_mut::<udp::Socket>(self.handle.smoltcp_handle().unwrap()); in write() localVariable
402 let socket = sockets.get_mut::<udp::Socket>(self.handle.smoltcp_handle().unwrap()); in bind() localVariable
409 let socket = sockets.get::<udp::Socket>(self.handle.smoltcp_handle().unwrap()); in poll() localVariable
450 let socket = sockets.get::<udp::Socket>(self.handle.smoltcp_handle().unwrap()); in endpoint() localVariable
[all …]
H A Dmod.rs69 let socket: Box<dyn Socket> = match address_family { in new_socket() localVariable
305 let mut socket = self.0.lock_irqsave(); in do_close() localVariable
/DragonOS/kernel/src/net/
H A Dsyscall.rs36 pub fn socket( in socket() method
45 let socket = new_socket(address_family, socket_type, protocol)?; in socket() localVariable
115 let socket: SpinLockGuard<Box<dyn Socket>> = socket_inode.inner(); in setsockopt() localVariable
140 let socket = binding.inner(); in getsockopt() localVariable
199 let socket: Arc<SocketInode> = ProcessManager::current_pcb() in connect() localVariable
202 let mut socket = unsafe { socket.inner_no_preempt() }; in connect() localVariable
216 let socket: Arc<SocketInode> = ProcessManager::current_pcb() in bind() localVariable
219 let mut socket = unsafe { socket.inner_no_preempt() }; in bind() localVariable
246 let socket: Arc<SocketInode> = ProcessManager::current_pcb() in sendto() localVariable
249 let socket = unsafe { socket.inner_no_preempt() }; in sendto() localVariable
[all …]
H A Dmod.rs15 pub mod socket; module
/DragonOS/user/apps/test_lo/src/
H A Dmain.rs5 let socket = UdpSocket::bind("127.0.0.1:34254")?; in main() localVariable
/DragonOS/kernel/src/filesystem/vfs/
H A Dfile.rs585 let mut socket = inode.inner(); in add_epoll() localVariable
609 let mut socket = inode.inner(); in remove_epoll() localVariable
/DragonOS/kernel/src/process/
H A Dmod.rs944 let socket: Arc<SocketInode> = f in get_socket() localVariable