Home
last modified time | relevance | path

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

/DragonOS/kernel/src/net/
H A Dsyscall.rs143 let optname = PosixSocketOption::try_from(optname as i32) in getsockopt()
146 PosixSocketOption::SO_SNDBUF => { in getsockopt()
154 PosixSocketOption::SO_RCVBUF => { in getsockopt()
828 pub enum PosixSocketOption { enum
930 impl TryFrom<i32> for PosixSocketOption { implementation
941 impl From<PosixSocketOption> for i32 {
942 fn from(value: PosixSocketOption) -> Self { in from()
943 <PosixSocketOption as ToPrimitive>::to_i32(&value).unwrap() in from()