Function rustix::net::sockopt::get_ip_ttl   
pub fn get_ip_ttl<Fd: AsFd>(fd: &Fd) -> io::Result<u32>Documentation
getsockopt(fd, IPPROTO_IP, IP_TTL)
References
- POSIX getsockopt
- POSIX netinet/in.h
- Linux getsockopt
- Linux ip
- Winsock2 getsockopt
- [Winsock2 IPPROTO_IPV6options]