Searched refs:Protocol (Results 1 – 4 of 4) sorted by relevance
/DragonOS-0.1.9/kernel/src/net/ |
D | mod.rs | 70 pub enum Protocol { enum 84 impl fmt::Display for Protocol { implementation 87 Protocol::HopByHop => write!(f, "Hop-by-Hop"), in fmt() 88 Protocol::Icmp => write!(f, "ICMP"), in fmt() 89 Protocol::Igmp => write!(f, "IGMP"), in fmt() 90 Protocol::Tcp => write!(f, "TCP"), in fmt() 91 Protocol::Udp => write!(f, "UDP"), in fmt() 92 Protocol::Ipv6Route => write!(f, "IPv6-Route"), in fmt() 93 Protocol::Ipv6Frag => write!(f, "IPv6-Frag"), in fmt() 94 Protocol::Icmpv6 => write!(f, "ICMPv6"), in fmt() [all …]
|
D | syscall.rs | 22 Endpoint, Protocol, ShutdownType, 42 let protocol = Protocol::from(protocol as u8); in socket() 76 let protocol = Protocol::from(protocol as u8); in socketpair()
|
/DragonOS-0.1.9/kernel/src/net/socket/ |
D | mod.rs | 35 Endpoint, Protocol, ShutdownType, 59 protocol: Protocol, in new_socket() argument
|
D | sockets.rs | 14 event_poll::EPollEventType, net_core::poll_ifaces, Endpoint, Protocol, ShutdownType, 52 pub fn new(protocol: Protocol, options: SocketOptions) -> Self { in new() argument
|