Home
last modified time | relevance | path

Searched refs:addrV6 (Results 1 – 8 of 8) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/
Dares_options.c68 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()
Dares_gethostbyaddr.c76 (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()
Dares__get_hostent.c151 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()
Dares_data.c180 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()
Dares_init.c940 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()
Dares_process.c1102 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()
Dares_private.h138 #define addrV6 addr.addr6 macro
Dares_gethostbyname.c525 if (!ares__bitncmp(addr, &sortlist[i].addrV6, sortlist[i].mask.bits)) in get6_address_index()