Searched refs:UdpSocket (Results 1 – 2 of 2) sorted by relevance
/DragonOS-0.1.9/kernel/src/net/socket/ |
D | mod.rs | 30 use self::sockets::{RawSocket, SeqpacketSocket, TcpSocket, UdpSocket}; 64 PosixSocketType::Datagram => Box::new(UdpSocket::new(SocketOptions::default())), in new_socket() 73 PosixSocketType::Datagram => Box::new(UdpSocket::new(SocketOptions::default())), in new_socket() 506 SocketType::UdpSocket => self.udp_port_table.lock(), in get_ephemeral_port() 530 SocketType::UdpSocket => self.udp_port_table.lock(), in bind_port() 546 SocketType::UdpSocket => self.udp_port_table.lock(), in unbind_port() 591 UdpSocket, enumerator
|
D | sockets.rs | 228 pub struct UdpSocket { struct 234 impl UdpSocket { argument 263 SocketType::UdpSocket, in new() 298 impl Socket for UdpSocket { implementation
|