Home
last modified time | relevance | path

Searched refs:Protocol (Results 1 – 4 of 4) sorted by relevance

/DragonOS-0.1.7/kernel/src/net/
Dmod.rs213 pub enum Protocol { enum
227 impl fmt::Display for Protocol { implementation
230 Protocol::HopByHop => write!(f, "Hop-by-Hop"), in fmt()
231 Protocol::Icmp => write!(f, "ICMP"), in fmt()
232 Protocol::Igmp => write!(f, "IGMP"), in fmt()
233 Protocol::Tcp => write!(f, "TCP"), in fmt()
234 Protocol::Udp => write!(f, "UDP"), in fmt()
235 Protocol::Ipv6Route => write!(f, "IPv6-Route"), in fmt()
236 Protocol::Ipv6Frag => write!(f, "IPv6-Frag"), in fmt()
237 Protocol::Icmpv6 => write!(f, "ICMPv6"), in fmt()
[all …]
Dsocket.rs21 use super::{net_core::poll_ifaces, Endpoint, Protocol, Socket, NET_DRIVERS};
132 pub fn new(protocol: Protocol, options: SocketOptions) -> Self { in new() argument
Dsyscall.rs20 Endpoint, Protocol, ShutdownType, Socket,
53 Protocol::from(protocol as u8), in do_socket()
/DragonOS-0.1.7/docs/userland/libc/apis/api-list/
Derrno.md119 #define ENOPROTOOPT 51 /* 协议不可用 Protocol not available.*/
157 #define EPROTO 69 /* 协议错误 Protocol error.*/
161 #define EPROTONOSUPPORT 70 /* 协议不被支持 Protocol not supported.*/
163 #define EPROTOTYPE 71 /* 对于套接字而言,错误的协议 Protocol wrong type for socket.*/