Searched refs:addrV6 (Results 1 – 8 of 8) sorted by relevance
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/ |
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 | 76 (family == AF_INET6 && addrlen != sizeof(aquery->addr.addrV6))) in ares_gethostbyaddr() 92 memcpy(&aquery->addr.addrV6, addr, sizeof(aquery->addr.addrV6)); in ares_gethostbyaddr() 154 addrlen = sizeof(aquery->addr.addrV6); in addr_callback() 155 status = ares_parse_ptr_reply(abuf, alen, &aquery->addr.addrV6, in addr_callback() 251 if (memcmp((*host)->h_addr, &addr->addrV6, in file_lookup() 252 sizeof(addr->addrV6)) == 0) in file_lookup() 278 unsigned char *bytes = (unsigned char *)&addr->addrV6; in ptr_rr_name()
|
D | ares__get_hostent.c | 151 if (ares_inet_pton(AF_INET6, txtaddr, &addr.addrV6) > 0) in ares__get_hostent() 155 addrlen = sizeof(addr.addrV6); in ares__get_hostent() 191 memcpy(hostent->h_addr_list[0], &addr.addrV6, sizeof(addr.addrV6)); in ares__get_hostent()
|
D | ares_data.c | 180 memset(&ptr->data.addr_node.addrV6, 0, in ares_malloc_data() 181 sizeof(ptr->data.addr_node.addrV6)); in ares_malloc_data() 189 memset(&ptr->data.addr_port_node.addrV6, 0, in ares_malloc_data() 190 sizeof(ptr->data.addr_port_node.addrV6)); in ares_malloc_data()
|
D | ares_init.c | 940 else if (ares_inet_pton(AF_INET6, txtaddr, &namesrvr.addrV6) == 1) in get_DNS_NetworkParams() 942 if (memcmp(&namesrvr.addrV6, &ares_in6addr_any, in get_DNS_NetworkParams() 943 sizeof(namesrvr.addrV6)) == 0) in get_DNS_NetworkParams() 2159 else if (ares_inet_pton(AF_INET6, txtaddr, &host.addrV6) == 1 in config_nameserver() 2162 (const unsigned char *)&host.addrV6)) in config_nameserver() 2181 memcpy(&newserv[*nservers].addr.addrV6, &host.addrV6, in config_nameserver() 2182 sizeof(host.addrV6)); in config_nameserver() 2225 &pat.addrV6, in config_sortlist() 2226 sizeof(pat.addrV6))) > 0) in config_sortlist()
|
D | ares_process.c | 1102 memcpy(&saddr.sa6.sin6_addr, &server->addr.addrV6, in open_tcp_socket() 1103 sizeof(server->addr.addrV6)); in open_tcp_socket() 1215 memcpy(&saddr.sa6.sin6_addr, &server->addr.addrV6, in open_udp_socket() 1216 sizeof(server->addr.addrV6)); in open_udp_socket() 1369 addr1 = &aa->addrV6; in same_address() 1371 if (memcmp(addr1, addr2, sizeof(aa->addrV6)) == 0) in same_address()
|
D | ares_private.h | 138 #define addrV6 addr.addr6 macro
|
D | ares_gethostbyname.c | 525 if (!ares__bitncmp(addr, &sortlist[i].addrV6, sortlist[i].mask.bits)) in get6_address_index()
|