Home
last modified time | relevance | path

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

/third_party/rust/crates/rustix/tests/net/
Dsockopt.rs27 assert_ne!(rustix::net::sockopt::get_ip_ttl(&s).unwrap(), 0); in test_sockopts()
28 assert_ne!(rustix::net::sockopt::get_ip_ttl(&s).unwrap(), 77); in test_sockopts()
119 assert_eq!(rustix::net::sockopt::get_ip_ttl(&s).unwrap(), 77); in test_sockopts()
/third_party/rust/crates/rustix/src/net/
Dsockopt.rs268 pub fn get_ip_ttl<Fd: AsFd>(fd: Fd) -> io::Result<u32> { in get_ip_ttl() function
269 backend::net::syscalls::sockopt::get_ip_ttl(fd.as_fd()) in get_ip_ttl()
/third_party/rust/crates/rustix/src/backend/libc/net/
Dsyscalls.rs645 pub(crate) fn get_ip_ttl(fd: BorrowedFd<'_>) -> io::Result<u32> { in get_ip_ttl() function
/third_party/rust/crates/rustix/src/backend/linux_raw/net/
Dsyscalls.rs1074 pub(crate) fn get_ip_ttl(fd: BorrowedFd<'_>) -> io::Result<u32> { in get_ip_ttl() function