Searched refs:SocketOptions (Results 1 – 3 of 3) sorted by relevance
/DragonOS/kernel/src/net/socket/ |
H A D | mod.rs | 71 PosixSocketType::Stream => Box::new(StreamSocket::new(SocketOptions::default())), in new_socket() 72 PosixSocketType::SeqPacket => Box::new(SeqpacketSocket::new(SocketOptions::default())), in new_socket() 78 PosixSocketType::Stream => Box::new(TcpSocket::new(SocketOptions::default())), in new_socket() 79 PosixSocketType::Datagram => Box::new(UdpSocket::new(SocketOptions::default())), in new_socket() 80 PosixSocketType::Raw => Box::new(RawSocket::new(protocol, SocketOptions::default())), in new_socket() 598 pub struct SocketOptions: u32 { 624 pub options: SocketOptions, 633 options: SocketOptions, in new() argument
|
H A D | unix.rs | 8 SocketOptions, SocketType, 30 pub fn new(options: SocketOptions) -> Self { in new() 145 pub fn new(options: SocketOptions) -> Self { in new()
|
H A D | inet.rs | 20 SocketOptions, SocketPollMethod, SocketType, HANDLE_MAP, PORT_MANAGER, SOCKET_SET, 52 pub fn new(protocol: Protocol, options: SocketOptions) -> Self { in new() 127 if !self.metadata.options.contains(SocketOptions::BLOCK) { in read() 263 pub fn new(options: SocketOptions) -> Self { in new() 515 pub fn new(options: SocketOptions) -> Self { in new()
|