Home
last modified time | relevance | path

Searched refs:UdpSocket (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.9/kernel/src/net/socket/
Dmod.rs30 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
Dsockets.rs228 pub struct UdpSocket { struct
234 impl UdpSocket { argument
263 SocketType::UdpSocket, in new()
298 impl Socket for UdpSocket { implementation