/external/ltp/lib/ |
tst_net.c | 37 struct sockaddr_in6 *addr6 = (struct sockaddr_in6 *)addr; local 48 addr6->sin6_family = AF_INET6; 49 addr6->sin6_port = 0; 50 addr6->sin6_addr = in6addr_any; 51 slen = sizeof(*addr6); 85 return addr6->sin6_port;
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/lib/ |
librpc-tirpc.c | 31 struct sockaddr_in6 *addr6 = (struct sockaddr_in6 *)&addr; local 43 addr6->sin6_family = AF_INET6; 44 addr6->sin6_port = 0; 45 addr6->sin6_addr = in6addr_any; 46 slen = sizeof(*addr6);
|
/external/ipsec-tools/src/racoon/ |
prsa_par.y | 143 %token ADDR4 ADDR6 ADDRANY SLASH NUMBER BASE64 147 %type <chr> ADDR4 ADDR6 BASE64 151 %type <naddr> addr4 addr6 addr 227 | addr6 257 addr6: label 258 ADDR6 prefix
|
/external/libnl/tests/ |
check-addr.c | 143 struct nl_addr *addr6, *clone; local 149 fail_if(nl_addr_parse(addr_str, AF_INET, &addr6) == 0, 152 fail_if(nl_addr_parse(addr_str, AF_UNSPEC, &addr6) != 0, 155 fail_if(nl_addr_get_family(addr6) != AF_INET6, 158 fail_if(nl_addr_get_prefixlen(addr6) != 64, 161 fail_if(nl_addr_iszero(addr6), 164 clone = nl_addr_clone(addr6); 168 fail_if(nl_addr_cmp(addr6, clone) != 0, 171 fail_if(nl_addr_fill_sockaddr(addr6, (struct sockaddr *) &sin, &len) != 0, 174 fail_if(strcmp(nl_addr2str(addr6, buf, sizeof(buf)), addr_str) [all...] |
/system/core/adb/sysdeps/posix/ |
network.cpp | 44 struct sockaddr_in6* addr6 = reinterpret_cast<sockaddr_in6*>(addr); local 45 *addrlen = sizeof(*addr6); 47 addr6->sin6_family = AF_INET6; 48 addr6->sin6_addr = in6addr_loopback; 49 addr6->sin6_port = htons(port);
|
/cts/tests/tests/net/jni/ |
NativeDnsJni.c | 162 char addr6[16]; local 163 inet_pton(AF_INET6, GoogleDNSIpV6Address, addr6); 164 my_hostent = gethostbyaddr(addr6, sizeof(addr6), AF_INET6);
|
/external/c-ares/ |
ahost.c | 72 struct ares_in6_addr addr6; local 131 else if (ares_inet_pton(AF_INET6, *argv, &addr6) == 1) 133 ares_gethostbyaddr(channel, &addr6, sizeof(addr6), AF_INET6, callback,
|
ares_getnameinfo.c | 69 struct sockaddr_in6 addr6; member in union:nameinfo_query::__anon13497 89 static void append_scopeid(struct sockaddr_in6 *addr6, unsigned int scopeid, 99 struct sockaddr_in6 *addr6 = NULL; local 113 addr6 = (struct sockaddr_in6 *)sa; 114 port = addr6->sin6_port; 158 ares_inet_ntop(AF_INET6, &addr6->sin6_addr, ipbuf, IPBUFSIZ); 161 append_scopeid(addr6, flags, ipbuf, sizeof(ipbuf)); 199 memcpy(&niquery->addr.addr6, addr6, sizeof(struct ares_in6_addr)); 200 ares_gethostbyaddr(channel, &addr6->sin6_addr [all...] |
ares_private.h | 120 struct ares_in6_addr addr6; member in union:ares_addr::__anon13516 124 #define addrV6 addr.addr6 228 struct ares_in6_addr addr6; member in union:apattern::__anon13517 233 struct ares_in6_addr addr6; member in union:apattern::__anon13518
|
/external/linux-kselftest/tools/testing/selftests/net/ |
reuseport_dualstack.c | 34 struct sockaddr_in6 *addr6; local 45 addr6 = (struct sockaddr_in6 *)&addr; 46 addr6->sin6_family = AF_INET6; 47 addr6->sin6_addr = in6addr_any; 48 addr6->sin6_port = htons(PORT);
|
reuseport_bpf_cpu.c | 37 struct sockaddr_in6 *addr6; local 49 addr6 = (struct sockaddr_in6 *)&addr; 50 addr6->sin6_family = AF_INET6; 51 addr6->sin6_addr = in6addr_any; 52 addr6->sin6_port = htons(PORT);
|
reuseport_bpf_numa.c | 31 struct sockaddr_in6 *addr6; local 43 addr6 = (struct sockaddr_in6 *)&addr; 44 addr6->sin6_family = AF_INET6; 45 addr6->sin6_addr = in6addr_any; 46 addr6->sin6_port = htons(PORT);
|
reuseport_bpf.c | 48 struct sockaddr_in6 *addr6; local 61 addr6 = (struct sockaddr_in6 *)addr; 62 addr6->sin6_family = AF_INET6; 63 addr6->sin6_addr = in6addr_any; 64 addr6->sin6_port = htons(port); 76 struct sockaddr_in6 *addr6; local 84 addr6 = (struct sockaddr_in6 *)addr; 85 addr6->sin6_addr = in6addr_loopback;
|
/external/libmicrohttpd/src/examples/ |
spdy_event_loop.c | 84 struct sockaddr_in6 * addr6 = (struct sockaddr_in6 *) addr; local 85 if(NULL == inet_ntop(AF_INET6, &(addr6->sin6_addr), ipstr, sizeof(ipstr))) 90 printf("New connection from: %s:%i\n", ipstr, ntohs(addr6->sin6_port)); 334 struct sockaddr_in6 addr6; 335 addr6.sin6_family = AF_INET6; 336 addr6.sin6_addr = in6addr_any; 337 addr6.sin6_port = htons(atoi(argv[1]) + 1); 345 //SPDY_DAEMON_OPTION_SOCK_ADDR, (struct sockaddr *)&addr6,
|
/external/android-clat/ |
translate.c | 65 int is_in_plat_subnet(const struct in6_addr *addr6) { 67 return (addr6 != NULL) && (memcmp(addr6, &Global_Clatd_Config.plat_subnet, 12) == 0); 72 * addr6 - ipv6 address 75 uint32_t ipv6_addr_to_ipv4_addr(const struct in6_addr *addr6) { 76 if (is_in_plat_subnet(addr6)) { 78 return addr6->s6_addr32[3]; 79 } else if (IN6_ARE_ADDR_EQUAL(addr6, &Global_Clatd_Config.ipv6_local_subnet)) { 93 struct in6_addr addr6; local 100 addr6 = Global_Clatd_Config.plat_subnet [all...] |
/external/curl/lib/ |
curl_addrinfo.c | 272 struct sockaddr_in6 *addr6; local 339 addr6 = (void *)ai->ai_addr; /* storage area for this info */ 341 memcpy(&addr6->sin6_addr, curr, sizeof(struct in6_addr)); 342 addr6->sin6_family = (unsigned short)(he->h_addrtype); 343 addr6->sin6_port = htons((unsigned short)port); 576 struct sockaddr_in6 *addr6; local 587 addr6 = (void *)ca->ai_addr; /* storage area for this info */ 588 addr6->sin6_port = htons((unsigned short)port);
|
/external/curl/lib/vtls/ |
cyassl.c | 301 struct in6_addr addr6; local 309 (0 == Curl_inet_pton(AF_INET6, hostname, &addr6)) &&
|
schannel.c | 122 struct in6_addr addr6; local 266 || Curl_inet_pton(AF_INET6, hostname, &addr6) [all...] |
/external/libmicrohttpd/src/microspdy/ |
session.c | 1398 struct sockaddr_in6 addr6; local [all...] |
/external/mdnsresponder/mDNSPosix/ |
mDNSUNP.c | 90 char addr6[32+7+1]; /* don't forget the seven ':' */ local 131 sprintf(addr6, "%s:%s:%s:%s:%s:%s:%s:%s", 139 err = getaddrinfo(addr6, NULL, &hints, &res0);
|
/external/webrtc/webrtc/base/ |
ipaddress.cc | 259 in6_addr addr6; local 260 if (rtc::inet_pton(AF_INET6, str.c_str(), &addr6) == 0) { 264 *out = IPAddress(addr6);
|
/external/deqp/framework/delibs/deutil/ |
deSocket.c | 354 struct sockaddr_in6* addr6 = (struct sockaddr_in6*)bsdAddr; local 362 addr6->sin6_port = deHostToNetworkOrder16((deUint16)address->port); 363 addr6->sin6_family = AF_INET6; 393 const struct sockaddr_in6* addr6 = (const struct sockaddr_in6*)bsdAddr; local 398 deSocketAddress_setPort(address, (int)deNetworkToHostOrder16((deUint16)addr6->sin6_port)); 402 inet_ntop(AF_INET6, (void*)&addr6->sin6_addr, buf, sizeof(buf));
|
/external/fio/ |
client.h | 34 struct sockaddr_in6 addr6; member in union:fio_client::__anon19241
|
/external/selinux/checkpolicy/ |
checkpolicy.c | 965 struct in6_addr addr6; local 987 p = (char *)&addr6; 988 len = sizeof(addr6);
|
/system/core/libsysutils/src/ |
NetlinkEvent.cpp | 193 struct in6_addr *addr6 = (struct in6_addr *) RTA_DATA(rta); local 194 if (RTA_PAYLOAD(rta) < sizeof(*addr6)) { 199 inet_ntop(AF_INET6, addr6, addrstr, sizeof(addrstr));
|