INP_SOCKAF
switch (INP_SOCKAF(inp->inp_socket)) {
if (INP_SOCKAF(so) == AF_INET6) {
#define INP_CHECK_SOCKAF(so, af) (INP_SOCKAF(so) == af)
if (INP_SOCKAF(so) == AF_INET6) {
if (INP_SOCKAF(so) == AF_INET) {
if (INP_SOCKAF(so) == AF_INET6) {
if (INP_SOCKAF(so) == AF_INET) {
if (INP_SOCKAF(so) == AF_INET6) {
INP_SOCKAF(so);