HomeSort by relevance Sort by last modified time
    Searched refs:AF_INET6 (Results 1 - 25 of 369) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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;
  /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...]
  /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;
  /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));
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)));
clatd.c 123 status = if_route(tunnel->device6, AF_INET6, &Global_Clatd_Config.ipv6_local_subnet,
138 status = if_route(tunnel->device6, AF_INET6, &Global_Clatd_Config.ipv6_local_subnet,
153 interface_ip = getinterface_ip(Global_Clatd_Config.default_pdp_interface, AF_INET6);
163 inet_ntop(AF_INET6, &Global_Clatd_Config.ipv6_local_subnet, from_addr, sizeof(from_addr));
164 inet_ntop(AF_INET6, &interface_ip->ip6, to_addr, sizeof(to_addr));
194 status = add_address(tunnel->device6, AF_INET6, &Global_Clatd_Config.ipv6_local_address,
  /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) {
  /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/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...]
  /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)
ipmonitor.c 163 if (!preferred_family || preferred_family == AF_INET6)
169 if (!preferred_family || preferred_family == AF_INET6)
173 if (!preferred_family || preferred_family == 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
  /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/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/netperf/
netsh.c 346 convert that into one of the AF_mumble values - AF_INET, AF_INET6,
364 #if defined(AF_INET6)
366 return(AF_INET6);
777 #if defined(AF_INET6)
778 address_family = AF_INET6;
779 local_address_family = AF_INET6;
807 #if defined(AF_INET6)
808 case AF_INET6:
818 #if defined(AF_INET6)
819 case AF_INET6
    [all...]
config.h 7 #undef AF_INET6
  /external/chromium/net/base/
ip_endpoint.cc 36 return AF_INET6;
68 addr6->sin6_family = AF_INET6;
93 case AF_INET6: {
network_change_notifier_netlink_linux.cc 32 return address_message->ifa_family == AF_INET6;
42 DCHECK_EQ(address_message->ifa_family, AF_INET6);
  /external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/
inet_ntop.cc 33 if (AF_INET6 == af) {
  /external/dropbear/
fake-rfc2553.h 81 #ifndef AF_INET6
83 #define AF_INET6 AF_MAX
  /external/openssh/openbsd-compat/
fake-rfc2553.h 84 #ifndef AF_INET6
86 #define AF_INET6 AF_MAX
  /external/iputils/
traceroute6.c 346 icmp_sock = socket(AF_INET6, SOCK_RAW, IPPROTO_ICMPV6);
447 to->sin6_family = AF_INET6;
450 if (inet_pton(AF_INET6, *argv, &to->sin6_addr) > 0) {
458 hp = gethostbyname2(idn ? idn : *argv, AF_INET6);
523 if ((sndsock = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) {
544 int probe_fd = socket(AF_INET6, SOCK_DGRAM, 0);
568 saddr.sin6_family = AF_INET6;
569 if (inet_pton(AF_INET6, source, &saddr.sin6_addr) <= 0)
586 inet_ntop(AF_INET6, &to->sin6_addr, pa, sizeof(pa)));
589 inet_ntop(AF_INET6, &saddr.sin6_addr, pa, sizeof(pa)))
    [all...]
  /libcore/luni/src/main/native/
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;

Completed in 900 milliseconds

1 2 3 4 5 6 7 8 91011>>