Function rustix::net::sockopt::get_ip_ttl
source · pub fn get_ip_ttl<Fd: AsFd>(fd: Fd) -> Result<u32>
Available on crate feature
net
only.Expand description
getsockopt(fd, IPPROTO_IP, IP_TTL)
References
- POSIX
getsockopt
- POSIX
netinet/in.h
- Linux
getsockopt
- Linux
ip
- Winsock2
getsockopt
- Winsock2
IPPROTO_IP
options - [Apple
getsockopt
] - Apple
ip
- [FreeBSD
getsockopt
] - FreeBSD
ip
- [NetBSD
getsockopt
] - NetBSD
ip
- [OpenBSD
getsockopt
] - OpenBSD
ip
- [DragonFly BSD
getsockopt
] - DragonFly BSD
ip
- [illumos
getsockopt
] - illumos
ip