Searched refs:addrV6 (Results 1 – 8 of 8) sorted by relevance
/external/c-ares/ |
D | ares_gethostbyaddr.c | 83 (family == AF_INET6 && addrlen != sizeof(aquery->addr.addrV6))) in ares_gethostbyaddr() 99 memcpy(&aquery->addr.addrV6, addr, sizeof(aquery->addr.addrV6)); in ares_gethostbyaddr() 161 addrlen = sizeof(aquery->addr.addrV6); in addr_callback() 162 status = ares_parse_ptr_reply(abuf, alen, &aquery->addr.addrV6, in addr_callback() 258 if (memcmp((*host)->h_addr, &addr->addrV6, in file_lookup() 259 sizeof(addr->addrV6)) == 0) in file_lookup() 285 unsigned char *bytes = (unsigned char *)&addr->addrV6; in ptr_rr_name()
|
D | ares_options.c | 68 memcpy(&srvr_curr->addrV6, &channel->servers[i].addr.addrV6, in ares_get_servers() 69 sizeof(srvr_curr->addrV6)); in ares_get_servers() 124 memcpy(&channel->servers[i].addr.addrV6, &srvr->addrV6, in ares_set_servers() 125 sizeof(srvr->addrV6)); in ares_set_servers()
|
D | ares__get_hostent.c | 153 if (ares_inet_pton(AF_INET6, txtaddr, &addr.addrV6) > 0) in ares__get_hostent() 157 addrlen = sizeof(addr.addrV6); in ares__get_hostent() 193 memcpy(hostent->h_addr_list[0], &addr.addrV6, sizeof(addr.addrV6)); in ares__get_hostent()
|
D | ares_data.c | 147 memset(&ptr->data.addr_node.addrV6, 0, in ares_malloc_data() 148 sizeof(ptr->data.addr_node.addrV6)); in ares_malloc_data()
|
D | ares_process.c | 960 memcpy(&saddr.sa6.sin6_addr, &server->addr.addrV6, in open_tcp_socket() 961 sizeof(server->addr.addrV6)); in open_tcp_socket() 1052 memcpy(&saddr.sa6.sin6_addr, &server->addr.addrV6, in open_udp_socket() 1053 sizeof(server->addr.addrV6)); in open_udp_socket() 1195 addr1 = &aa->addrV6; in same_address() 1197 if (memcmp(addr1, addr2, sizeof(aa->addrV6)) == 0) in same_address()
|
D | ares_init.c | 1354 else if (ares_inet_pton(AF_INET6, txtaddr, &host.addrV6) == 1) in config_nameserver() 1371 memcpy(&newserv[*nservers].addr.addrV6, &host.addrV6, in config_nameserver() 1372 sizeof(host.addrV6)); in config_nameserver() 1415 &pat.addrV6, in config_sortlist() 1416 sizeof(pat.addrV6))) > 0) in config_sortlist()
|
D | ares_private.h | 124 #define addrV6 addr.addr6 macro
|
D | ares_gethostbyname.c | 518 &sortlist[i].addrV6, in get6_address_index()
|