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