Home
last modified time | relevance | path

Searched refs:ares_in6_addr (Results 1 – 10 of 10) sorted by relevance

/external/c-ares/
Dares_parse_aaaa_reply.c67 struct ares_in6_addr *addrs; in ares_parse_aaaa_reply()
103 addrs = malloc(ancount * sizeof(struct ares_in6_addr)); in ares_parse_aaaa_reply()
146 && rr_len == sizeof(struct ares_in6_addr) in ares_parse_aaaa_reply()
151 if (aptr + sizeof(struct ares_in6_addr) > abuf + alen) in ares_parse_aaaa_reply()
157 memcpy(&addrs[naddrs], aptr, sizeof(struct ares_in6_addr)); in ares_parse_aaaa_reply()
162 if (aptr + sizeof(struct ares_in6_addr) > abuf + alen) in ares_parse_aaaa_reply()
168 memcpy(&at->ip6addr, aptr, sizeof(struct ares_in6_addr)); in ares_parse_aaaa_reply()
238 hostent->h_length = sizeof(struct ares_in6_addr); in ares_parse_aaaa_reply()
Dares_gethostbyname.c84 static int get6_address_index(const struct ares_in6_addr *addr,
248 struct ares_in6_addr in6; in fake_hostent()
289 hostent.h_length = (int)sizeof(struct ares_in6_addr); in fake_hostent()
480 struct ares_in6_addr a1, a2; in sort6_addresses()
490 memcpy(&a1, host->h_addr_list[i1], sizeof(struct ares_in6_addr)); in sort6_addresses()
494 memcpy(&a2, host->h_addr_list[i2], sizeof(struct ares_in6_addr)); in sort6_addresses()
498 memcpy(host->h_addr_list[i2 + 1], &a2, sizeof(struct ares_in6_addr)); in sort6_addresses()
500 memcpy(host->h_addr_list[i2 + 1], &a1, sizeof(struct ares_in6_addr)); in sort6_addresses()
507 static int get6_address_index(const struct ares_in6_addr *addr, in get6_address_index()
Dares_ipv6.h30 struct ares_in6_addr sin6_addr;
75 extern const struct ares_in6_addr ares_in6addr_any; /* :: */
Dares_private.h120 struct ares_in6_addr addr6;
228 struct ares_in6_addr addr6;
233 struct ares_in6_addr addr6;
Dares.h433 struct ares_in6_addr { struct
445 struct ares_in6_addr ip6addr; argument
526 struct ares_in6_addr addr6;
Dares_options.c170 struct ares_in6_addr in6; in ares_set_servers_csv()
206 memcpy(&s->addr, &in6, sizeof(struct ares_in6_addr)); in ares_set_servers_csv()
Dinet_net_pton.c50 const struct ares_in6_addr ares_in6addr_any = { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } } };
440 size = sizeof(struct ares_in6_addr); in ares_inet_pton()
Dares_getnameinfo.c199 memcpy(&niquery->addr.addr6, addr6, sizeof(struct ares_in6_addr)); in ares_getnameinfo()
201 sizeof(struct ares_in6_addr), AF_INET6, in ares_getnameinfo()
Dahost.c72 struct ares_in6_addr addr6; in main()
DCHANGES314 now declares the private struct ares_in6_addr for all systems instead of