Lines Matching refs:AF_INET6
224 } else if (sa->sa_family == AF_INET6) { in log_address()
229 inet_ntop(AF_INET6, &s6->sin6_addr, addrstr, in log_address()
305 .sin6_family = AF_INET6, in tcp_md5_remote()
317 case AF_INET6: in tcp_md5_remote()
470 if (version == AF_INET6) { in set_unicast_if()
620 } else if (sa->sa_family == AF_INET6) { in expected_addr_match()
627 inet_ntop(AF_INET6, exp_in, in expected_addr_match()
692 int pfx_len_max = args->version == AF_INET6 ? 128 : 32; in convert_addr()
731 } else if (family == AF_INET6) { in convert_addr()
732 args->md5_prefix.v6.sin6_family = AF_INET6; in convert_addr()
769 case AF_INET6: in convert_addr()
778 if (inet_pton(AF_INET6, str, in6) == 0) { in convert_addr()
856 inet_ntop(AF_INET6, &pi6->ipi6_addr, buf, sizeof(buf)); in get_index_from_cmsg()
920 } else if (version == AF_INET6) { in send_msg_cmsg()
1024 if (sa->sa_family == AF_INET6) { in socket_read_dgram()
1046 if (args->version == AF_INET6) { in socket_read_dgram()
1163 if (version == AF_INET6) { in set_recv_attr()
1328 .sin6_family = AF_INET6, in bind_socket()
1344 case AF_INET6: in bind_socket()
1378 if (args->version == AF_INET6) { in config_xfrm_policy()
1668 .sin6_family = AF_INET6, in do_client()
1710 case AF_INET6: in do_client()
2021 args.version = AF_INET6; in main()