Lines Matching refs:addrV4
370 &channel->servers[i].addr.addrV4, in ares_save_options()
371 sizeof(channel->servers[i].addr.addrV4)); in ares_save_options()
475 memcpy(&channel->servers[i].addr.addrV4, in init_by_options()
477 sizeof(channel->servers[i].addr.addrV4)); in init_by_options()
913 if (ares_inet_pton(AF_INET, txtaddr, &namesrvr.addrV4) == 1) in get_DNS_NetworkParams()
915 if ((namesrvr.addrV4.S_un.S_addr == INADDR_ANY) || in get_DNS_NetworkParams()
916 (namesrvr.addrV4.S_un.S_addr == INADDR_NONE)) in get_DNS_NetworkParams()
1503 pserver->addr.addrV4.s_addr = addr_in->sin_addr.s_addr; in init_by_resolv_conf()
1567 servers[i].addr.addrV4.s_addr = htonl(def_nameservers[i]); in init_by_resolv_conf()
1915 channel->servers[0].addr.addrV4.s_addr = htonl(INADDR_LOOPBACK); in init_by_defaults()
2195 if (ares_inet_pton(AF_INET, txtaddr, &host.addrV4) == 1) in config_nameserver()
2216 memcpy(&newserv[*nservers].addr.addrV4, &host.addrV4, in config_nameserver()
2217 sizeof(host.addrV4)); in config_nameserver()
2276 (bits = ares_inet_net_pton(AF_INET, ipbufpfx, &pat.addrV4, in config_sortlist()
2277 sizeof(pat.addrV4))) > 0) in config_sortlist()
2289 else if (ip_addr(ipbuf, q-str, &pat.addrV4) == 0) in config_sortlist()
2472 addr.s_addr = ntohl(pat->addrV4.s_addr); in natural_mask()