Lines Matching refs:AF_INET6
228 } else if (sa->sa_family == AF_INET6) { in log_address()
233 inet_ntop(AF_INET6, &s6->sin6_addr, addrstr, in log_address()
309 .sin6_family = AF_INET6, in tcp_md5_remote()
321 case AF_INET6: in tcp_md5_remote()
474 if (version == AF_INET6) { in set_unicast_if()
533 case AF_INET6: in set_freebind()
647 } else if (sa->sa_family == AF_INET6) { in expected_addr_match()
654 inet_ntop(AF_INET6, exp_in, in expected_addr_match()
719 int pfx_len_max = args->version == AF_INET6 ? 128 : 32; in convert_addr()
758 } else if (family == AF_INET6) { in convert_addr()
759 args->md5_prefix.v6.sin6_family = AF_INET6; in convert_addr()
796 case AF_INET6: in convert_addr()
805 if (inet_pton(AF_INET6, str, in6) == 0) { in convert_addr()
883 inet_ntop(AF_INET6, &pi6->ipi6_addr, buf, sizeof(buf)); in get_index_from_cmsg()
947 } else if (version == AF_INET6) { in send_msg_cmsg()
1056 if (sa->sa_family == AF_INET6) { in socket_read_dgram()
1078 if (args->version == AF_INET6) { in socket_read_dgram()
1195 if (version == AF_INET6) { in set_recv_attr()
1360 .sin6_family = AF_INET6, in bind_socket()
1376 case AF_INET6: in bind_socket()
1410 if (args->version == AF_INET6) { in config_xfrm_policy()
1703 .sin6_family = AF_INET6, in do_client()
1745 case AF_INET6: in do_client()
2061 args.version = AF_INET6; in main()