Function rsix::net::sockopt::set_ip_ttl [−][src]
pub fn set_ip_ttl<Fd: AsFd>(fd: &Fd, ttl: u32) -> Result<()>
Expand description
setsockopt(fd, IPPROTO_IP, IP_TTL, ttl)
References
- POSIX
setsockopt
- [POSIX
netinet/in.h
] - Linux
setsockopt
- Linux
ip