rustix::net::sockopt

Function get_ipv6_unicast_hops

source
pub fn get_ipv6_unicast_hops<Fd: AsFd>(fd: Fd) -> Result<u8>
Expand description

getsockopt(fd, IPPROTO_IPV6, IPV6_UNICAST_HOPS)

See the module-level documentation for more.