Searched refs:addrV6 (Results 1 – 8 of 8) sorted by relevance
/third_party/node/deps/cares/src/lib/ |
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() 125 memcpy(&srvr_curr->addrV6, &channel->servers[i].addr.addrV6, in ares_get_servers_ports() 126 sizeof(srvr_curr->addrV6)); in ares_get_servers_ports() 185 memcpy(&channel->servers[i].addr.addrV6, &srvr->addrV6, in ares_set_servers() 186 sizeof(srvr->addrV6)); in ares_set_servers() 237 memcpy(&channel->servers[i].addr.addrV6, &srvr->addrV6, in ares_set_servers_ports() 238 sizeof(srvr->addrV6)); in ares_set_servers_ports()
|
D | ares_gethostbyaddr.c | 70 (family == AF_INET6 && addrlen != sizeof(aquery->addr.addrV6))) in ares_gethostbyaddr() 86 memcpy(&aquery->addr.addrV6, addr, sizeof(aquery->addr.addrV6)); in ares_gethostbyaddr() 148 addrlen = sizeof(aquery->addr.addrV6); in addr_callback() 149 status = ares_parse_ptr_reply(abuf, alen, &aquery->addr.addrV6, in addr_callback() 244 if (memcmp((*host)->h_addr, &addr->addrV6, in file_lookup() 245 sizeof(addr->addrV6)) == 0) in file_lookup() 271 unsigned char *bytes = (unsigned char *)&addr->addrV6; in ptr_rr_name()
|
D | ares__get_hostent.c | 150 if (ares_inet_pton(AF_INET6, txtaddr, &addr.addrV6) > 0) in ares__get_hostent() 154 addrlen = sizeof(addr.addrV6); in ares__get_hostent() 190 memcpy(hostent->h_addr_list[0], &addr.addrV6, sizeof(addr.addrV6)); in ares__get_hostent()
|
D | ares_data.c | 214 memset(&ptr->data.addr_node.addrV6, 0, in ares_malloc_data() 215 sizeof(ptr->data.addr_node.addrV6)); in ares_malloc_data() 223 memset(&ptr->data.addr_port_node.addrV6, 0, in ares_malloc_data() 224 sizeof(ptr->data.addr_port_node.addrV6)); in ares_malloc_data()
|
D | ares_init.c | 919 else if (ares_inet_pton(AF_INET6, txtaddr, &namesrvr.addrV6) == 1) in get_DNS_NetworkParams() 921 if (memcmp(&namesrvr.addrV6, &ares_in6addr_any, in get_DNS_NetworkParams() 922 sizeof(namesrvr.addrV6)) == 0) in get_DNS_NetworkParams() 2197 else if (ares_inet_pton(AF_INET6, txtaddr, &host.addrV6) == 1 in config_nameserver() 2200 (const unsigned char *)&host.addrV6)) in config_nameserver() 2219 memcpy(&newserv[*nservers].addr.addrV6, &host.addrV6, in config_nameserver() 2220 sizeof(host.addrV6)); in config_nameserver() 2263 &pat.addrV6, in config_sortlist() 2264 sizeof(pat.addrV6))) > 0) in config_sortlist()
|
D | ares_process.c | 1072 memcpy(&saddr.sa6.sin6_addr, &server->addr.addrV6, in open_tcp_socket() 1073 sizeof(server->addr.addrV6)); in open_tcp_socket() 1185 memcpy(&saddr.sa6.sin6_addr, &server->addr.addrV6, in open_udp_socket() 1186 sizeof(server->addr.addrV6)); in open_udp_socket() 1339 addr1 = &aa->addrV6; in same_address() 1341 if (memcmp(addr1, addr2, sizeof(aa->addrV6)) == 0) in same_address()
|
D | ares_private.h | 149 #define addrV6 addr.addr6 macro
|
D | ares_gethostbyname.c | 214 if (!ares__bitncmp(addr, &sortlist[i].addrV6, sortlist[i].mask.bits)) in get6_address_index()
|