Lines Matching refs:addr
321 struct Curl_addrinfo *addr = dns->addr;
328 while(addr) {
329 if(addr->ai_family == pf) {
333 addr = addr->ai_next;
384 static int num_addresses(const struct Curl_addrinfo *addr)
387 while(addr) {
388 addr = addr->ai_next;
395 struct Curl_addrinfo **addr);
400 * The addr argument should be the address of a pointer to the head node of a
409 struct Curl_addrinfo **addr)
412 const int num_addrs = num_addresses(*addr);
425 nodes[0] = *addr;
447 *addr = nodes[0];
473 struct Curl_addrinfo *addr,
486 CURLcode result = Curl_shuffle_addr(data, &addr);
505 dns->addr = addr; /* this is the address(es) */
726 struct Curl_addrinfo *addr = NULL;
759 addr = Curl_ip2addr(AF_INET, &in, hostname, port);
760 if(!addr)
769 addr = Curl_ip2addr(AF_INET6, &in6, hostname, port);
770 if(!addr)
795 if(!addr) {
801 addr = get_localhost(port, hostname);
804 addr = Curl_doh(data, hostname, port, &respwait);
814 addr = Curl_getaddrinfo(data, hostname, port, &respwait);
817 if(!addr) {
836 dns = Curl_cache_addr(data, addr, hostname, 0, port);
843 Curl_freeaddrinfo(addr);
1072 Curl_freeaddrinfo(dns->addr);
1329 a = dns->addr;