rustix::net::sockopt

Function set_ip_ttl

source
pub fn set_ip_ttl<Fd: AsFd>(fd: Fd, value: u32) -> Result<()>
Expand description

setsockopt(fd, IPPROTO_IP, IP_TTL, value)

See the module-level documentation for more.