/curl/lib/ |
H A D | curl_addrinfo.h | 52 struct Curl_addrinfo { struct 60 struct Curl_addrinfo *ai_next; argument 64 Curl_freeaddrinfo(struct Curl_addrinfo *cahead); 71 struct Curl_addrinfo **result); 75 struct Curl_addrinfo * 79 struct Curl_addrinfo * 82 struct Curl_addrinfo *Curl_str2addr(char *dotted, int port); 85 struct Curl_addrinfo *Curl_unix2addr(const char *path, bool *longpath, 104 void Curl_addrinfo_set_port(struct Curl_addrinfo *addrinfo, int port);
|
H A D | curl_addrinfo.c | 81 struct Curl_addrinfo *ca; in Curl_freeaddrinfo() 113 struct Curl_addrinfo *cafirst = NULL; in Curl_getaddrinfo_ex() 114 struct Curl_addrinfo *calast = NULL; in Curl_getaddrinfo_ex() 115 struct Curl_addrinfo *ca; in Curl_getaddrinfo_ex() 256 struct Curl_addrinfo * 259 struct Curl_addrinfo *ai; in Curl_he2ai() 260 struct Curl_addrinfo *prevai = NULL; in Curl_he2ai() 365 struct Curl_addrinfo * 368 struct Curl_addrinfo *ai; in Curl_ip2addr() 464 struct Curl_addrinfo *ai; in Curl_unix2addr() [all …]
|
H A D | cf-socket.h | 31 struct Curl_addrinfo; 71 const struct Curl_addrinfo *ai, 99 const struct Curl_addrinfo *ai, 112 const struct Curl_addrinfo *ai, 125 const struct Curl_addrinfo *ai, 138 const struct Curl_addrinfo *ai,
|
H A D | hostip.h | 96 struct Curl_addrinfo *addr; 158 struct Curl_addrinfo *Curl_getaddrinfo(struct Curl_easy *data, 175 struct Curl_addrinfo *Curl_ipv4_resolve_r(const char *hostname, int port); 187 struct Curl_addrinfo *ai); 194 void Curl_printable_address(const struct Curl_addrinfo *ip, 216 Curl_cache_addr(struct Curl_easy *data, struct Curl_addrinfo *addr,
|
H A D | hostip4.c | 89 struct Curl_addrinfo *Curl_getaddrinfo(struct Curl_easy *data, in Curl_getaddrinfo() 94 struct Curl_addrinfo *ai = NULL; in Curl_getaddrinfo() 121 struct Curl_addrinfo *Curl_ipv4_resolve_r(const char *hostname, in Curl_ipv4_resolve_r() 128 struct Curl_addrinfo *ai = NULL; in Curl_ipv4_resolve_r()
|
H A D | hostip6.c | 74 static void dump_addrinfo(const struct Curl_addrinfo *ai) in dump_addrinfo() 98 struct Curl_addrinfo *Curl_getaddrinfo(struct Curl_easy *data, in Curl_getaddrinfo() 104 struct Curl_addrinfo *res; in Curl_getaddrinfo()
|
H A D | hostip.c | 317 struct Curl_addrinfo *addr = dns->addr; in fetch_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() 531 struct Curl_addrinfo *ca; in get_localhost6() 568 struct Curl_addrinfo *ca; in get_localhost() 569 struct Curl_addrinfo *ca6; 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() [all …]
|
H A D | hostasyn.c | 68 struct Curl_addrinfo *ai) in Curl_addrinfo_callback() 115 struct Curl_addrinfo *Curl_getaddrinfo(struct Curl_easy *data, in Curl_getaddrinfo()
|
H A D | asyn-ares.c | 103 struct Curl_addrinfo *temp_ai; /* intermediary result while fetching c-ares 528 struct Curl_addrinfo *ai) in compound_results() 537 struct Curl_addrinfo *temp_ai_tail = res->temp_ai; in compound_results() 548 struct Curl_addrinfo *ai_tail = ai; in compound_results() 663 static struct Curl_addrinfo *ares2addr(struct ares_addrinfo_node *node) in ares2addr() 667 struct Curl_addrinfo *cafirst = NULL; in ares2addr() 668 struct Curl_addrinfo *calast = NULL; in ares2addr() 673 struct Curl_addrinfo *ca; in ares2addr() 693 ca = malloc(sizeof(struct Curl_addrinfo) + ss_size); in ares2addr() 711 ca->ai_addr = (void *)((char *)ca + sizeof(struct Curl_addrinfo)); in ares2addr() [all …]
|
H A D | amigaos.c | 127 struct Curl_addrinfo *Curl_ipv4_resolve_r(const char *hostname, in Curl_ipv4_resolve_r() 130 struct Curl_addrinfo *ai = NULL; in Curl_ipv4_resolve_r()
|
H A D | asyn.h | 158 struct Curl_addrinfo *Curl_resolver_getaddrinfo(struct Curl_easy *data,
|
H A D | connect.h | 122 const struct Curl_addrinfo *ai,
|
H A D | doh.h | 104 struct Curl_addrinfo *Curl_doh(struct Curl_easy *data,
|
H A D | doh.c | 404 struct Curl_addrinfo *Curl_doh(struct Curl_easy *data, in Curl_doh() 897 int port, struct Curl_addrinfo **aip) in doh2ai() 899 struct Curl_addrinfo *ai; in doh2ai() 900 struct Curl_addrinfo *prevai = NULL; in doh2ai() 901 struct Curl_addrinfo *firstai = NULL; in doh2ai() 932 ai = calloc(1, sizeof(struct Curl_addrinfo) + ss_size + hostlen); in doh2ai() 937 ai->ai_addr = (void *)((char *)ai + sizeof(struct Curl_addrinfo)); in doh2ai() 1339 struct Curl_addrinfo *ai; in Curl_doh_is_resolved()
|
H A D | connect.c | 211 static const struct Curl_addrinfo * 212 addr_first_match(const struct Curl_addrinfo *addr, int family) in addr_first_match() 222 static const struct Curl_addrinfo * 223 addr_next_match(const struct Curl_addrinfo *addr, int family) in addr_next_match() 358 const struct Curl_addrinfo *first; /* complete address list, not owned */ 359 const struct Curl_addrinfo *addr; /* List of addresses to try, not owned */ 403 const struct Curl_addrinfo *addr, in eyeballer_new() 774 const struct Curl_addrinfo *addr0 = NULL, *addr1 = NULL; in start_connect()
|
H A D | asyn-thread.c | 160 struct Curl_addrinfo *res; 681 struct Curl_addrinfo *Curl_resolver_getaddrinfo(struct Curl_easy *data, in Curl_resolver_getaddrinfo() 708 struct Curl_addrinfo *Curl_resolver_getaddrinfo(struct Curl_easy *data, in Curl_resolver_getaddrinfo()
|
/curl/tests/unit/ |
H A D | unit1305.c | 73 static struct Curl_addrinfo *fake_ai(void) in fake_ai() 75 static struct Curl_addrinfo *ai; in fake_ai() 79 ai = calloc(1, sizeof(struct Curl_addrinfo) + sizeof(struct sockaddr_in) + in fake_ai() 84 ai->ai_addr = (void *)((char *)ai + sizeof(struct Curl_addrinfo)); in fake_ai()
|
H A D | unit1608.c | 31 struct Curl_addrinfo **addr); 34 static struct Curl_addrinfo addrs[NUM_ADDRS]; 55 struct Curl_addrinfo *addrhead = addrs;
|
H A D | unit1609.c | 116 struct Curl_addrinfo *addr;
|
H A D | unit1607.c | 120 struct Curl_addrinfo *addr;
|
/curl/lib/vquic/ |
H A D | vquic.h | 33 struct Curl_addrinfo; 46 const struct Curl_addrinfo *ai,
|
H A D | curl_msh3.h | 38 const struct Curl_addrinfo *ai);
|
H A D | curl_quiche.h | 42 const struct Curl_addrinfo *ai);
|
H A D | curl_osslq.h | 44 const struct Curl_addrinfo *ai);
|
H A D | curl_ngtcp2.h | 54 const struct Curl_addrinfo *ai);
|