/external/wpa_supplicant_8/src/utils/ |
ip_addr.c | 26 if (addr->af == AF_INET6) { 27 if (inet_ntop(AF_INET6, &addr->u.v6, buf, buflen) == NULL) 49 case AF_INET6: 69 if (inet_pton(AF_INET6, txt, &addr->u.v6) > 0) { 70 addr->af = AF_INET6;
|
ip_addr.h | 13 int af; /* AF_INET / AF_INET6 */
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
socket_test.cc | 259 EXPECT_LT(ki_socketpair(AF_INET6, SOCK_STREAM, 0, sv), 0); 354 EXPECT_TRUE(NULL != inet_ntop(AF_INET6, &real_addr, 363 EXPECT_TRUE(NULL != inet_ntop(AF_INET6, &real_addr, 372 EXPECT_TRUE(NULL != inet_ntop(AF_INET6, &real_addr, 393 EXPECT_TRUE(NULL == inet_ntop(AF_INET6, &ipv6_addr, 407 { AF_INET6, "0:0:0:0:0:0:0:0", NULL }, 408 { AF_INET6, "1234:5678:9abc:def0:1234:5678:9abc:def0", NULL }, 409 { AF_INET6, "1:2:3:4:5:6:7:8", NULL }, 410 { AF_INET6, "a:b:c:d:e:f:1:2", NULL }, 411 { AF_INET6, "A:B:C:D:E:F:1:2", "a:b:c:d:e:f:1:2" } [all...] |
/libcore/luni/src/main/native/ |
NetworkUtilities.h | 20 // Convert from sockaddr_storage to Inet4Address (AF_INET), Inet6Address (AF_INET6), or 26 // an AF_UNIX sockaddr_un. An Inet6Address will be converted to an AF_INET6 sockaddr_in6. 27 // An Inet4Address will be converted to an IPv4-mapped AF_INET6 sockaddr_in6. This is what 29 // are AF_INET6. 34 // an AF_UNIX sockaddr_un. An Inet6Address will be converted to an AF_INET6 sockaddr_in6.
|
NetworkUtilities.cpp | 35 if (ss.ss_family == AF_INET6 && IN6_IS_ADDR_V4MAPPED(&sin6.sin6_addr)) { 58 } else if (ss.ss_family == AF_INET6) { 121 if (ss.ss_family != AF_INET && ss.ss_family != AF_INET6 && ss.ss_family != AF_UNIX) { 160 // We use AF_INET6 sockets, so we want an IPv6 address (which may be a IPv4-mapped address). 163 if (ss.ss_family == AF_INET6) { 178 sin6.sin6_family = AF_INET6;
|
/external/libppp/src/ |
ncpaddr.c | 204 case AF_INET6: 225 case AF_INET6: 246 case AF_INET6: 247 addr->ncpaddr_family = AF_INET6; 292 addr->ncpaddr_family = AF_INET6; 299 if (addr->ncpaddr_family != AF_INET6) 324 case AF_INET6: 325 host6->sin6_family = AF_INET6; 352 case AF_INET6: 358 addr->ncpaddr_family = AF_INET6; [all...] |
/frameworks/av/media/common_time/ |
utils.cpp | 27 case AF_INET6: 44 case AF_INET6: { 49 p->writeInt32(AF_INET6); 73 case AF_INET6: {
|
/external/android-clat/ |
dns64.c | 62 if(p->ai_family != AF_INET6) { 77 inet_ntop(AF_INET6, &plat_addr, plat_addr_str, sizeof(plat_addr_str)); 80 inet_ntop(AF_INET6, &this_plat_addr, this_plat_addr_str, sizeof(this_plat_addr_str));
|
setif.c | 31 * family - address family (AF_INET, AF_INET6) 34 * broadcast - broadcast address (only for AF_INET, ignored for AF_INET6) 67 if(family == AF_INET6) { 68 // AF_INET6 gets IFA_LOCAL + IFA_ADDRESS
|
config.c | 134 status = inet_pton(AF_INET6, tmp, ret_val_ptr); 207 interface_ip = getinterface_ip(interface, AF_INET6); 262 if(inet_pton(AF_INET6, plat_prefix, &Global_Clatd_Config.plat_subnet) <= 0) { 301 logmsg(ANDROID_LOG_DEBUG,"ipv6_local_address = %s",inet_ntop(AF_INET6, &Global_Clatd_Config.ipv6_local_address, charbuffer, sizeof(charbuffer))); 302 logmsg(ANDROID_LOG_DEBUG,"ipv6_local_subnet = %s",inet_ntop(AF_INET6, &Global_Clatd_Config.ipv6_local_subnet, charbuffer, sizeof(charbuffer))); 304 logmsg(ANDROID_LOG_DEBUG,"plat_subnet = %s",inet_ntop(AF_INET6, &Global_Clatd_Config.plat_subnet, charbuffer, sizeof(charbuffer)));
|
/external/iproute2/ip/ |
ipprefix.c | 57 family = AF_INET6; 58 if (family != AF_INET6) 61 if (prefix->prefix_family != AF_INET6) {
|
rtmon.c | 87 family = AF_INET6; 89 family = AF_INET6; 99 family = AF_INET6; 140 if (!family || family == AF_INET6) 146 if (!family || family == AF_INET6)
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
ipaddress.cc | 78 case AF_INET6: 92 if (family_ == AF_INET6) { 112 if (family_ == AF_INET && other.family_ == AF_INET6) { 123 case AF_INET6: { 145 if (family_ != AF_INET && family_ != AF_INET6) { 150 if (family_ == AF_INET6) { 173 case AF_INET6: { 183 if (family_ != AF_INET6) { 229 } else if (info->ai_addr->sa_family == AF_INET6) { 244 if (talk_base::inet_pton(AF_INET6, str.c_str(), &addr6) == 0) [all...] |
ifaddrs-android.cc | 87 } else if (msg->ifa_family == AF_INET6) { 89 sa->sin6_family = AF_INET6; 110 } else if (family == AF_INET6) { 112 mask->sin6_family = AF_INET6; 192 if (family == AF_INET || family == AF_INET6) {
|
/external/chromium/net/base/ |
address_family.h | 16 ADDRESS_FAMILY_IPV6, // AF_INET6
|
ip_endpoint.cc | 36 return AF_INET6; 68 addr6->sin6_family = AF_INET6; 93 case AF_INET6: {
|
/external/chromium_org/net/base/ |
address_family.h | 15 ADDRESS_FAMILY_IPV6, // AF_INET6
|
ip_endpoint.cc | 46 return AF_INET6; 76 addr6->sin6_family = AF_INET6;
|
/frameworks/opt/net/voip/src/jni/rtp/ |
util.cpp | 51 if (inet_pton(AF_INET6, address, &(sin6->sin6_addr)) > 0) { 52 sin6->sin6_family = AF_INET6;
|
/cts/tests/tests/net/jni/ |
NativeDnsJni.c | 50 } else if (current->ai_addr->sa_family == AF_INET6) { 83 } else if (current->ai_addr->sa_family == AF_INET6) { 107 sa6.sin6_family = AF_INET6; 111 inet_pton(AF_INET6, GoogleDNSIpV6Address2, &(sa6.sin6_addr)); 162 inet_pton(AF_INET6, GoogleDNSIpV6Address, addr6); 163 my_hostent = gethostbyaddr(addr6, sizeof(addr6), AF_INET6);
|
/external/mdnsresponder/mDNSPosix/ |
mDNSUNP.h | 60 ((struct sockaddr*)&(X))->sa_family == AF_INET6 ? sizeof(struct sockaddr_in6) : sizeof(struct sockaddr)) 99 #if defined(AF_INET6) && HAVE_IPV6 && HAVE_LINUX 104 #if defined(AF_INET6) && HAVE_IPV6
|
/system/extras/tests/bionic/libc/common/ |
test_gethostbyname.c | 59 case AF_INET6: printf( "AF_INET6\n"); break;
|
/external/openssh/ |
addrmatch.c | 57 case AF_INET6: 70 case AF_INET6: 96 case AF_INET6: 99 xa->af = AF_INET6; 133 case AF_INET6: 134 n->af = AF_INET6; 163 case AF_INET6: 183 return a->af == AF_INET6 ? 1 : -1; 190 case AF_INET6: 246 case AF_INET6 [all...] |
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/ |
inet_ntop.cc | 33 if (AF_INET6 == af) {
|
/external/chromium_org/net/dns/ |
address_sorter_unittest.cc | 44 SOCKET sock = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP);
|