Home
last modified time | relevance | path

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

/DragonOS/kernel/src/net/
H A Dmod.rs72 pub enum Protocol { enum
86 impl fmt::Display for Protocol { implementation
89 Protocol::HopByHop => write!(f, "Hop-by-Hop"), in fmt()
90 Protocol::Icmp => write!(f, "ICMP"), in fmt()
91 Protocol::Igmp => write!(f, "IGMP"), in fmt()
92 Protocol::Tcp => write!(f, "TCP"), in fmt()
93 Protocol::Udp => write!(f, "UDP"), in fmt()
94 Protocol::Ipv6Route => write!(f, "IPv6-Route"), in fmt()
95 Protocol::Ipv6Frag => write!(f, "IPv6-Frag"), in fmt()
96 Protocol::Icmpv6 => write!(f, "ICMPv6"), in fmt()
[all …]
H A Dsyscall.rs23 Endpoint, Protocol, ShutdownType,
43 let protocol = Protocol::from(protocol as u8); in socket()
72 let protocol = Protocol::from(protocol as u8); in socketpair()
/DragonOS/kernel/src/net/socket/
H A Dmod.rs41 Endpoint, Protocol, ShutdownType,
67 protocol: Protocol, in new_socket() argument
H A Dinet.rs13 event_poll::EPollEventType, net_core::poll_ifaces, Endpoint, Protocol, ShutdownType,
52 pub fn new(protocol: Protocol, options: SocketOptions) -> Self { in new() argument