Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/src/net/
Dmod.rs70 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 …]
Dsyscall.rs22 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/
Dmod.rs35 Endpoint, Protocol, ShutdownType,
59 protocol: Protocol, in new_socket() argument
Dsockets.rs14 event_poll::EPollEventType, net_core::poll_ifaces, Endpoint, Protocol, ShutdownType,
52 pub fn new(protocol: Protocol, options: SocketOptions) -> Self { in new() argument