Searched refs:Protocol (Results 1 – 4 of 4) sorted by relevance
/DragonOS-0.1.8/kernel/src/net/ |
D | mod.rs | 213 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 …]
|
D | syscall.rs | 21 Endpoint, Protocol, ShutdownType, Socket, 44 Protocol::from(protocol as u8), in socket()
|
D | socket.rs | 22 use super::{net_core::poll_ifaces, Endpoint, Protocol, Socket, NET_DRIVERS}; 245 pub fn new(protocol: Protocol, options: SocketOptions) -> Self { in new() argument
|
/DragonOS-0.1.8/docs/userland/libc/apis/api-list/ |
D | errno.md | 119 #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.*/
|