/external/iproute2/ip/ |
ipaddrlabel.c | 105 af = AF_INET6; 184 req.ifal.ifal_family = AF_INET6; 227 af = AF_INET6;
|
ipmaddr.c | 180 m.addr.family = AF_INET6; 211 case AF_INET6: 272 if (!filter.family || filter.family == AF_INET6)
|
ip6tunnel.c | 73 inet_ntop(AF_INET6, &p->raddr, remote, sizeof(remote)); 74 inet_ntop(AF_INET6, &p->laddr, local, sizeof(local)); 397 preferred_family = AF_INET6; 399 case AF_INET6:
|
/system/core/libsysutils/src/ |
NetlinkEvent.cpp | 198 } else if (ifaddr->ifa_family == AF_INET6) { 205 inet_ntop(AF_INET6, addr6, addrstr, sizeof(addrstr)); 345 } else if (family == AF_INET6) { 384 if (msg->nduseropt_family != AF_INET6) { 451 inet_ntop(AF_INET6, addrs + i, buf + pos, bufsize - pos);
|
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/ |
sctp_bsd_addr.c | 384 if ((Err = GetAdaptersAddresses(AF_INET6, 0, NULL, NULL, &AdapterAddrsSize)) != 0) { 397 if ((Err = GetAdaptersAddresses(AF_INET6, 0, NULL, pAdapterAddrs, &AdapterAddrsSize)) != ERROR_SUCCESS) { 448 if (ifa->ifa_addr->sa_family != AF_INET6) { 458 if ((ifa->ifa_addr->sa_family != AF_INET) && (ifa->ifa_addr->sa_family != AF_INET6)) { 464 if ((ifa->ifa_addr->sa_family == AF_INET6) && 533 if ((ifa->ifa_addr->sa_family != AF_INET) && (ifa->ifa_addr->sa_family != AF_INET6)) { 537 if (ifa->ifa_addr->sa_family == AF_INET6) { 547 if (ifa->ifa_addr->sa_family == AF_INET6) { 614 case AF_INET6: 631 case AF_INET6 [all...] |
sctp_asconf.c | 216 sin6->sin6_family = AF_INET6; 367 sin6->sin6_family = AF_INET6; 500 sin6->sin6_family = AF_INET6; 847 case AF_INET6: 893 case AF_INET6: [all...] |
/external/tcpdump/ |
print-pgm.c | 267 nla_af = AF_INET6; 314 nla_af = AF_INET6; 396 source_af = AF_INET6; 420 group_af = AF_INET6; 623 nla_af = AF_INET6; 754 nla_af = AF_INET6; 787 nla_af = AF_INET6;
|
/external/wpa_supplicant_8/wpa_supplicant/ |
ctrl_iface_udp.c | 80 inet_ntop(AF_INET6, &from->sin6_addr, addr, sizeof(*from)), 110 inet_ntop(AF_INET6, &from->sin6_addr, addr, 157 inet_ntop(AF_INET6, &from->sin6_addr, addr, 227 inet_ntop(AF_INET6, &from.sin6_addr, addr, sizeof(from)); 365 addr.sin6_family = AF_INET6; 369 inet_pton(AF_INET6, "::1", &addr.sin6_addr); 474 inet_ntop(AF_INET6, &dst->addr.sin6_addr,
|
/bionic/libc/dns/ |
gethnamaddr.c | 505 hp = gethostbyname_internal(name, AF_INET6, res, NETID_UNSET, MARK_UNSET); 646 case AF_INET6: 836 if (af == AF_INET6 && len == NS_IN6ADDRSZ && 842 if (af == AF_INET6 && len == NS_IN6ADDRSZ && 855 case AF_INET6: 945 if (inet_pton(AF_INET6, p, (char *)(void *)rs->host_addr) > 0) { 946 af = AF_INET6; 955 af = AF_INET6; 1017 hp = _gethtbyname2(name, AF_INET6); 1187 hp->h_addrtype = AF_INET6; [all...] |
/external/iputils/ |
ping6.c | 3 * Modified for AF_INET6 by Pedro Roque 466 hints.ai_family = AF_INET6; 721 icmp_sock = socket(AF_INET6, SOCK_DGRAM, IPPROTO_ICMPV6); 724 icmp_sock = socket(AF_INET6, SOCK_RAW, IPPROTO_ICMPV6); 730 source.sin6_family = AF_INET6; 732 firsthop.sin6_family = AF_INET6; 768 if (inet_pton(AF_INET6, addr, (char*)&source.sin6_addr) <= 0) { 862 hints.ai_family = AF_INET6; 921 hints.ai_family = AF_INET6; 957 int probe_fd = socket(AF_INET6, SOCK_DGRAM, 0) [all...] |
/external/chromium_org/net/base/ |
address_tracker_linux_unittest.cc | 228 MakeAddrMessage(RTM_NEWADDR, 0, AF_INET6, kEmpty, kAddr3, &buffer); 335 MakeAddrMessage(RTM_NEWADDR, 0, AF_INET6, kEmpty, kAddr3, &buffer); 344 MakeAddrMessageWithCacheInfo(RTM_NEWADDR, 0, AF_INET6, kEmpty, kAddr3, 0, 353 MakeAddrMessageWithCacheInfo(RTM_NEWADDR, IFA_F_DEPRECATED, AF_INET6, kEmpty, 362 MakeAddrMessageWithCacheInfo(RTM_NEWADDR, 0, AF_INET6, kEmpty, kAddr3, 0, 383 MakeAddrMessage(RTM_DELROUTE, 0, AF_INET6, kAddr3, kEmpty, &buffer);
|
/external/wpa_supplicant_8/src/common/ |
wpa_ctrl.c | 303 ctrl->local.sin6_family = AF_INET6; 307 inet_pton(AF_INET6, "::1", &ctrl->local.sin6_addr); 326 ctrl->dest.sin6_family = AF_INET6; 327 inet_pton(AF_INET6, "::1", &ctrl->dest.sin6_addr); 368 h = gethostbyname2(name, AF_INET6); 398 inet_ntop(AF_INET6, &ctrl->dest.sin6_addr, addr,
|
/frameworks/base/core/java/android/net/ |
VpnService.java | 20 import static android.system.OsConstants.AF_INET6; 582 * {@code family} must be either {@code AF_INET} (for IPv4) or {@code AF_INET6} (for IPv6). 585 * @param family The address family ({@code AF_INET} or {@code AF_INET6}) to allow. 592 } else if (family == AF_INET6) { 596 AF_INET6); [all...] |
/bionic/libc/upstream-openbsd/lib/libc/net/ |
inet_pton.c | 53 case AF_INET6:
|
/external/android-clat/ |
clatd.c | 237 int rawsock = socket(AF_INET6, SOCK_RAW, IPPROTO_RAW); 273 interface_ip = getinterface_ip(interface, AF_INET6); 288 inet_ntop(AF_INET6, &interface_ip->ip6, addrstr, sizeof(addrstr)); 296 inet_ntop(AF_INET6, &Global_Clatd_Config.ipv6_local_subnet, from_addr, sizeof(from_addr));
|
getaddr.c | 63 if((targ_p->family == AF_INET6) && !(ifa_p->ifa_flags & IFA_F_SECONDARY)) {
|
netlink_msg.c | 36 * family - AF_INET or AF_INET6 41 } else if(family == AF_INET6) {
|
setif.c | 34 * family - address family (AF_INET, AF_INET6) 37 * broadcast - broadcast address (only for AF_INET, ignored for AF_INET6) 70 if(family == AF_INET6) { 71 // AF_INET6 gets IFA_LOCAL + IFA_ADDRESS
|
clatd_test.cpp | 565 inet_pton(AF_INET6, kIPv6PlatSubnet, &Global_Clatd_Config.plat_subnet); 566 inet_pton(AF_INET6, kIPv6LocalAddr, &Global_Clatd_Config.ipv6_local_subnet); 575 inet_ntop(AF_INET6, expected, expected_str, sizeof(expected_str)); 576 inet_ntop(AF_INET6, actual, actual_str, sizeof(actual_str)); 626 ASSERT_TRUE(inet_pton(AF_INET6, "::bad:ace:d00d", &Global_Clatd_Config.ipv6_host_id)); 627 ASSERT_TRUE(inet_pton(AF_INET6, "2001:db8:1:2:0:bad:ace:d00d", &expected)); 628 ASSERT_TRUE(inet_pton(AF_INET6, "2001:db8:1:2:f076:ae99:124e:aa54", &myaddr)); 639 ASSERT_TRUE(inet_pton(AF_INET6, "2001:db8:1:2:f076:ae99:124e:aa54", &interface_ipv6)); 672 inet_ntop(AF_INET6, &myaddr, myaddr_str, sizeof(myaddr_str)); 673 inet_ntop(AF_INET6, plat_subnet, plat_str, sizeof(plat_str)) [all...] |
/external/chromium-libpac/src/ |
net_util.cc | 32 mode = AF_INET6;
|
/external/chromium_org/tools/android/forwarder2/ |
socket.cc | 28 return family == AF_INET || family == AF_INET6; 164 } else if (family_ == AF_INET6) { 190 } else if (family_ == AF_INET6) { 275 case AF_INET6:
|
/external/libpcap/Win32/Src/ |
getaddrinfo.c | 321 if (q && inet_pton(AF_INET6, q, &faith_prefix) == 1) 453 * we would like to prefer AF_INET6 than AF_INET, so we'll make a 637 #ifdef AF_INET6 638 if (af == AF_INET6 799 case AF_INET6: 888 case AF_INET6: 901 if (cur->ai_family != AF_INET6) 1051 #ifdef AF_INET6 1052 case AF_INET6: 1103 case AF_INET6 [all...] |
/external/openssl/apps/ |
s_cb.c | 802 case AF_INET6: 830 case AF_INET6: 883 case AF_INET6: 911 case AF_INET6:
|
/bionic/libc/include/sys/ |
socket.h | 143 #define AF_INET6 10 184 #define PF_INET6 AF_INET6
|
/development/ndk/platforms/android-L/include/sys/ |
socket.h | 143 #define AF_INET6 10 184 #define PF_INET6 AF_INET6
|