ICMP6(4) - Device Drivers Manual # ICMP6(4) - Device Drivers Manual
NAME # icmp6 - Internet Control Message Protocol for IPv6
SYNOPSIS # #include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/icmp6.h>
int
socket(AF_INET6, SOCK_RAW, IPPROTO_ICMPV6);
DESCRIPTION # ICMPv6 is the error and control message protocol used by IPv6 and the IPv6 protocol family (see ip6(4) and inet6(4)). It may be accessed through a “raw socket” for network monitoring and diagnostic functions.
...
INET6(4) - Device Drivers Manual # INET6(4) - Device Drivers Manual
NAME # inet6 - Internet protocol version 6 family
SYNOPSIS # #include <sys/types.h>
#include <netinet/in.h>
DESCRIPTION # The Internet Protocol version 6 family is an updated version of the Internet Protocol version 4 family. It comprises Internet Protocol version 6 (IPv6), Internet Control Message Protocol version 6 (ICMPv6), Transmission Control Protocol (TCP), and User Datagram Protocol (UDP). tcp(4) is used to support the SOCK_STREAM abstraction while udp(4) is used to support the SOCK_DGRAM abstraction.
...
Send,
Udp,
If_nametoindex,
Netintro,
Getsockopt,
Setsockopt,
Bpf,
Socket,
Inet6,
Recv,
Tcp,
Icmp6,
Ip6 IP6(4) - Device Drivers Manual # IP6(4) - Device Drivers Manual
NAME # ip6 - Internet Protocol version 6 (IPv6) network layer
SYNOPSIS # #include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
int
socket(AF_INET6, SOCK_RAW, proto);
DESCRIPTION # The IPv6 network layer is used by the IPv6 protocol family for transporting data. IPv6 packets contain an IPv6 header that is not provided as part of the payload contents when passed to an application.
...
Intro,
Recvmsg,
Getsockopt,
Setsockopt,
Sysctl,
Socket,
Inet,
Inet6,
Recvfrom,
Mrouted,
Ip6,
Ip,
Icmp6,
Multicast MULTICAST(4) - Device Drivers Manual # MULTICAST(4) - Device Drivers Manual
NAME # multicast - multicast routing
SYNOPSIS # options MROUTING
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/ip_mroute.h>
#include <netinet6/ip6_mroute.h>
int
getsockopt(int s, IPPROTO_IP, MRT_INIT, void *optval, socklen_t *optlen);
int
setsockopt(int s, IPPROTO_IP, MRT_INIT, const void *optval, socklen_t optlen);
int
getsockopt(int s, IPPROTO_IPV6, MRT6_INIT, void *optval, socklen_t *optlen);
int
setsockopt(int s, IPPROTO_IPV6, MRT6_INIT, const void *optval, socklen_t optlen);
...