Searched refs:addrV4 (Results 1 – 7 of 7) sorted by relevance
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/ |
D | ares_options.c | 65 memcpy(&srvr_curr->addrV4, &channel->servers[i].addr.addrV4, in ares_get_servers() 66 sizeof(srvr_curr->addrV4)); in ares_get_servers() 122 memcpy(&srvr_curr->addrV4, &channel->servers[i].addr.addrV4, in ares_get_servers_ports() 123 sizeof(srvr_curr->addrV4)); in ares_get_servers_ports() 182 memcpy(&channel->servers[i].addr.addrV4, &srvr->addrV4, in ares_set_servers() 183 sizeof(srvr->addrV4)); in ares_set_servers() 234 memcpy(&channel->servers[i].addr.addrV4, &srvr->addrV4, in ares_set_servers_ports() 235 sizeof(srvr->addrV4)); in ares_set_servers_ports()
|
D | ares_gethostbyaddr.c | 75 if ((family == AF_INET && addrlen != sizeof(aquery->addr.addrV4)) || in ares_gethostbyaddr() 90 memcpy(&aquery->addr.addrV4, addr, sizeof(aquery->addr.addrV4)); in ares_gethostbyaddr() 148 addrlen = sizeof(aquery->addr.addrV4); in addr_callback() 149 status = ares_parse_ptr_reply(abuf, alen, &aquery->addr.addrV4, in addr_callback() 245 if (memcmp((*host)->h_addr, &addr->addrV4, in file_lookup() 246 sizeof(addr->addrV4)) == 0) in file_lookup() 269 unsigned long laddr = ntohl(addr->addrV4.s_addr); in ptr_rr_name()
|
D | ares__get_hostent.c | 138 addr.addrV4.s_addr = INADDR_NONE; in ares__get_hostent() 141 addr.addrV4.s_addr = inet_addr(txtaddr); in ares__get_hostent() 142 if (addr.addrV4.s_addr != INADDR_NONE) in ares__get_hostent() 146 addrlen = sizeof(addr.addrV4); in ares__get_hostent() 189 memcpy(hostent->h_addr_list[0], &addr.addrV4, sizeof(addr.addrV4)); in ares__get_hostent()
|
D | ares_init.c | 391 &channel->servers[i].addr.addrV4, in ares_save_options() 392 sizeof(channel->servers[i].addr.addrV4)); in ares_save_options() 496 memcpy(&channel->servers[i].addr.addrV4, in init_by_options() 498 sizeof(channel->servers[i].addr.addrV4)); in init_by_options() 934 if (ares_inet_pton(AF_INET, txtaddr, &namesrvr.addrV4) == 1) in get_DNS_NetworkParams() 936 if ((namesrvr.addrV4.S_un.S_addr == INADDR_ANY) || in get_DNS_NetworkParams() 937 (namesrvr.addrV4.S_un.S_addr == INADDR_NONE)) in get_DNS_NetworkParams() 1537 servers[i].addr.addrV4.s_addr = htonl(def_nameservers[i]); in init_by_resolv_conf() 1882 channel->servers[0].addr.addrV4.s_addr = htonl(INADDR_LOOPBACK); in init_by_defaults() 2157 if (ares_inet_pton(AF_INET, txtaddr, &host.addrV4) == 1) in config_nameserver() [all …]
|
D | ares_process.c | 1089 memcpy(&saddr.sa4.sin_addr, &server->addr.addrV4, in open_tcp_socket() 1090 sizeof(server->addr.addrV4)); in open_tcp_socket() 1202 memcpy(&saddr.sa4.sin_addr, &server->addr.addrV4, in open_udp_socket() 1203 sizeof(server->addr.addrV4)); in open_udp_socket() 1363 addr1 = &aa->addrV4; in same_address() 1365 if (memcmp(addr1, addr2, sizeof(aa->addrV4)) == 0) in same_address()
|
D | ares_gethostbyname.c | 472 == sortlist[i].addrV4.s_addr) in get_address_index() 477 if (!ares__bitncmp(&addr->s_addr, &sortlist[i].addrV4.s_addr, in get_address_index()
|
D | ares_private.h | 137 #define addrV4 addr.addr4 macro
|