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.
...
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);
...
TRPT(8) - System Manager’s Manual # TRPT(8) - System Manager’s Manual
NAME # trpt - transliterate protocol trace
SYNOPSIS # trpt [-afjst] [-M core] [-N system] [-p hex-address]
DESCRIPTION # trpt interrogates the buffer of TCP trace records created when a socket is marked for “debugging” (see setsockopt(2)), and prints a readable description of these records. When no options are supplied, trpt prints all the trace records found in the system grouped according to TCP connection protocol control block (PCB).
...