Function rustix::net::sockopt::set_ipv6_v6only
source · pub fn set_ipv6_v6only<Fd: AsFd>(fd: Fd, only_v6: bool) -> Result<()>
Available on crate feature
net
only.Expand description
setsockopt(fd, IPPROTO_IPV6, IPV6_V6ONLY, only_v6)
References
- POSIX
setsockopt
- POSIX
netinet/in.h
- Linux
setsockopt
- Linux
ipv6
- Winsock2
setsockopt
- Winsock2
IPPROTO_IPV6
options - Apple
setsockopt
- Apple
ip6
- FreeBSD
setsockopt
- FreeBSD
ip6
- NetBSD
setsockopt
- NetBSD
ip6
- OpenBSD
setsockopt
- OpenBSD
ip6
- DragonFly BSD
setsockopt
- DragonFly BSD
ip6
- illumos
setsockopt
- illumos
ip6