Home
last modified time | relevance | path

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

/DragonOS/kernel/src/net/
H A Dsyscall.rs176 PosixIpProtocol::try_from(level as u16).map_err(|_| SystemError::ENOPROTOOPT)?; in getsockopt()
177 if posix_protocol == PosixIpProtocol::TCP { in getsockopt()
752 pub enum PosixIpProtocol { enum
809 impl TryFrom<u16> for PosixIpProtocol { implementation
820 impl From<PosixIpProtocol> for u16 {
821 fn from(value: PosixIpProtocol) -> Self { in from()
822 <PosixIpProtocol as ToPrimitive>::to_u16(&value).unwrap() in from()