tst_addr_and_pro_family - IPv6 Address Family and Protocol Family
Check if we have defined IPv6 Address Family and Protocol Family
./tst_addr_and_pro_family [-tooloption ...] -tooloption : v6api tool option
1. Check if we have defined IPv6 Address Family name AF_INET6 2. Check if we have defined IPv6 Address Family name PF_INET6 3. Check if AF_INET6 equal to PF_INET6
None
RFC 3493
3.1 IPv6 Address Family and Protocol Family
A new address family name, AF_INET6, is defined in <sys/socket.h>. The AF_INET6 definition distinguishes between the original sockaddr_in address data structure, and the new sockaddr_in6 data structure.
A new protocol family name, PF_INET6, is defined in <sys/socket.h>. Like most of the other protocol family names, this will usually be defined to have the same value as the corresponding address family name:
#define PF_INET6 AF_INET6
The AF_INET6 is used in the first argument to the socket() function to indicate that an IPv6 socket is being created.