Searched refs:addrV4 (Results 1 – 7 of 7) sorted by relevance
/external/c-ares/ |
D | ares_gethostbyaddr.c | 82 if ((family == AF_INET && addrlen != sizeof(aquery->addr.addrV4)) || in ares_gethostbyaddr() 97 memcpy(&aquery->addr.addrV4, addr, sizeof(aquery->addr.addrV4)); in ares_gethostbyaddr() 155 addrlen = sizeof(aquery->addr.addrV4); in addr_callback() 156 status = ares_parse_ptr_reply(abuf, alen, &aquery->addr.addrV4, in addr_callback() 252 if (memcmp((*host)->h_addr, &addr->addrV4, in file_lookup() 253 sizeof(addr->addrV4)) == 0) in file_lookup() 276 unsigned long laddr = ntohl(addr->addrV4.s_addr); in ptr_rr_name()
|
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() 121 memcpy(&channel->servers[i].addr.addrV4, &srvr->addrV4, in ares_set_servers() 122 sizeof(srvr->addrV4)); in ares_set_servers()
|
D | ares__get_hostent.c | 140 addr.addrV4.s_addr = INADDR_NONE; in ares__get_hostent() 143 addr.addrV4.s_addr = inet_addr(txtaddr); in ares__get_hostent() 144 if (addr.addrV4.s_addr != INADDR_NONE) in ares__get_hostent() 148 addrlen = sizeof(addr.addrV4); in ares__get_hostent() 191 memcpy(hostent->h_addr_list[0], &addr.addrV4, sizeof(addr.addrV4)); in ares__get_hostent()
|
D | ares_init.c | 371 &channel->servers[i].addr.addrV4, in ares_save_options() 372 sizeof(channel->servers[i].addr.addrV4)); in ares_save_options() 462 memcpy(&channel->servers[i].addr.addrV4, in init_by_options() 464 sizeof(channel->servers[i].addr.addrV4)); in init_by_options() 959 servers[i].addr.addrV4.s_addr = htonl(def_nameservers[i]); in init_by_resolv_conf() 1172 channel->servers[0].addr.addrV4.s_addr = htonl(INADDR_LOOPBACK); in init_by_defaults() 1352 if (ares_inet_pton(AF_INET, txtaddr, &host.addrV4) == 1) in config_nameserver() 1368 memcpy(&newserv[*nservers].addr.addrV4, &host.addrV4, in config_nameserver() 1369 sizeof(host.addrV4)); in config_nameserver() 1425 (bits = ares_inet_net_pton(AF_INET, ipbufpfx, &pat.addrV4, in config_sortlist() [all …]
|
D | ares_process.c | 951 memcpy(&saddr.sa4.sin_addr, &server->addr.addrV4, in open_tcp_socket() 952 sizeof(server->addr.addrV4)); in open_tcp_socket() 1043 memcpy(&saddr.sa4.sin_addr, &server->addr.addrV4, in open_udp_socket() 1044 sizeof(server->addr.addrV4)); in open_udp_socket() 1189 addr1 = &aa->addrV4; in same_address() 1191 if (memcmp(addr1, addr2, sizeof(aa->addrV4)) == 0) in same_address()
|
D | ares_gethostbyname.c | 464 == sortlist[i].addrV4.s_addr) in get_address_index() 469 if (!ares_bitncmp(&addr->s_addr, &sortlist[i].addrV4.s_addr, in get_address_index()
|
D | ares_private.h | 123 #define addrV4 addr.addr4 macro
|