Lines Matching refs:Curl_addrinfo
134 void Curl_printable_address(const struct Curl_addrinfo *ai, char *buf, in Curl_printable_address()
317 struct Curl_addrinfo *addr = dns->addr; in fetch_addr()
380 static int num_addresses(const struct Curl_addrinfo *addr) in num_addresses()
391 struct Curl_addrinfo **addr);
405 struct Curl_addrinfo **addr) in Curl_shuffle_addr()
411 struct Curl_addrinfo **nodes; in Curl_shuffle_addr()
430 struct Curl_addrinfo *swap_tmp; in Curl_shuffle_addr()
469 struct Curl_addrinfo *addr, in Curl_cache_addr()
529 static struct Curl_addrinfo *get_localhost6(int port, const char *name) in get_localhost6()
531 struct Curl_addrinfo *ca; in get_localhost6()
537 ca = calloc(1, sizeof(struct Curl_addrinfo) + ss_size + hostlen + 1); in get_localhost6()
555 ca->ai_addr = (void *)((char *)ca + sizeof(struct Curl_addrinfo)); in get_localhost6()
566 static struct Curl_addrinfo *get_localhost(int port, const char *name) in get_localhost()
568 struct Curl_addrinfo *ca; in get_localhost()
569 struct Curl_addrinfo *ca6; in get_localhost()
584 ca = calloc(1, sizeof(struct Curl_addrinfo) + ss_size + hostlen + 1); in get_localhost()
592 ca->ai_addr = (void *)((char *)ca + sizeof(struct Curl_addrinfo)); in get_localhost()
727 struct Curl_addrinfo *addr = NULL; in Curl_resolv()
1169 struct Curl_addrinfo *head = NULL, *tail = NULL; in Curl_loadhostpairs()
1207 struct Curl_addrinfo *ai; in Curl_loadhostpairs()
1332 struct Curl_addrinfo *a; in show_resolve_info()