/third_party/curl/lib/ |
D | curl_addrinfo.c | 81 Curl_freeaddrinfo(struct Curl_addrinfo *cahead) in Curl_freeaddrinfo() 83 struct Curl_addrinfo *vqualifier canext; in Curl_freeaddrinfo() 84 struct Curl_addrinfo *ca; in Curl_freeaddrinfo() 112 struct Curl_addrinfo **result) in Curl_getaddrinfo_ex() 116 struct Curl_addrinfo *cafirst = NULL; in Curl_getaddrinfo_ex() 117 struct Curl_addrinfo *calast = NULL; in Curl_getaddrinfo_ex() 118 struct Curl_addrinfo *ca; in Curl_getaddrinfo_ex() 151 ca = malloc(sizeof(struct Curl_addrinfo) + ss_size + namelen); in Curl_getaddrinfo_ex() 169 ca->ai_addr = (void *)((char *)ca + sizeof(struct Curl_addrinfo)); in Curl_getaddrinfo_ex() 258 struct Curl_addrinfo * [all …]
|
D | curl_addrinfo.h | 50 struct Curl_addrinfo { struct 58 struct Curl_addrinfo *ai_next; argument 62 Curl_freeaddrinfo(struct Curl_addrinfo *cahead); 69 struct Curl_addrinfo **result); 72 struct Curl_addrinfo * 75 struct Curl_addrinfo * 78 struct Curl_addrinfo *Curl_str2addr(char *dotted, int port); 81 struct Curl_addrinfo *Curl_unix2addr(const char *path, bool *longpath, 100 void Curl_addrinfo_set_port(struct Curl_addrinfo *addrinfo, int port);
|
D | hostip.h | 67 struct Curl_addrinfo *addr; 122 struct Curl_addrinfo *Curl_getaddrinfo(struct Curl_easy *data, 139 int Curl_num_addresses(const struct Curl_addrinfo *addr); 142 struct Curl_addrinfo *Curl_ipv4_resolve_r(const char *hostname, int port); 154 struct Curl_addrinfo *ai); 161 void Curl_printable_address(const struct Curl_addrinfo *ip, 183 Curl_cache_addr(struct Curl_easy *data, struct Curl_addrinfo *addr,
|
D | hostip.c | 128 int Curl_num_addresses(const struct Curl_addrinfo *addr) in Curl_num_addresses() 145 void Curl_printable_address(const struct Curl_addrinfo *ai, char *buf, in Curl_printable_address() 339 struct Curl_addrinfo **addr); 353 struct Curl_addrinfo **addr) in Curl_shuffle_addr() 359 struct Curl_addrinfo **nodes; in Curl_shuffle_addr() 378 struct Curl_addrinfo *swap_tmp; in Curl_shuffle_addr() 417 struct Curl_addrinfo *addr, in Curl_cache_addr() 466 static struct Curl_addrinfo *get_localhost6(int port) in get_localhost6() 468 struct Curl_addrinfo *ca; in get_localhost6() 474 ca = calloc(sizeof(struct Curl_addrinfo) + ss_size + hostlen + 1, 1); in get_localhost6() [all …]
|
D | hostip4.c | 92 struct Curl_addrinfo *Curl_getaddrinfo(struct Curl_easy *data, in Curl_getaddrinfo() 97 struct Curl_addrinfo *ai = NULL; in Curl_getaddrinfo() 123 struct Curl_addrinfo *Curl_ipv4_resolve_r(const char *hostname, in Curl_ipv4_resolve_r() 129 struct Curl_addrinfo *ai = NULL; in Curl_ipv4_resolve_r()
|
D | hostip6.c | 106 const struct Curl_addrinfo *ai) in dump_addrinfo() 130 struct Curl_addrinfo *Curl_getaddrinfo(struct Curl_easy *data, in Curl_getaddrinfo() 136 struct Curl_addrinfo *res; in Curl_getaddrinfo()
|
D | hostasyn.c | 71 struct Curl_addrinfo *ai) in Curl_addrinfo_callback() 118 struct Curl_addrinfo *Curl_getaddrinfo(struct Curl_easy *data, in Curl_getaddrinfo()
|
D | asyn-ares.c | 90 struct Curl_addrinfo *temp_ai; /* intermediary result while fetching c-ares 495 struct Curl_addrinfo *ai) in compound_results() 504 struct Curl_addrinfo *temp_ai_tail = res->temp_ai; in compound_results() 515 struct Curl_addrinfo *ai_tail = ai; in compound_results() 553 struct Curl_addrinfo *ai = Curl_he2ai(hostent, data->state.async.port); in query_completed_cb() 632 struct Curl_addrinfo *Curl_resolver_getaddrinfo(struct Curl_easy *data, in Curl_resolver_getaddrinfo()
|
D | doh.c | 393 struct Curl_addrinfo *Curl_doh(struct Curl_easy *data, in Curl_doh() 815 static struct Curl_addrinfo * 818 struct Curl_addrinfo *ai; in doh2ai() 819 struct Curl_addrinfo *prevai = NULL; in doh2ai() 820 struct Curl_addrinfo *firstai = NULL; in doh2ai() 850 ai = calloc(1, sizeof(struct Curl_addrinfo) + ss_size + hostlen); in doh2ai() 855 ai->ai_addr = (void *)((char *)ai + sizeof(struct Curl_addrinfo)); in doh2ai() 970 struct Curl_addrinfo *ai; in Curl_doh_is_resolved()
|
D | asyn.h | 156 struct Curl_addrinfo *Curl_resolver_getaddrinfo(struct Curl_easy *data,
|
D | doh.h | 35 struct Curl_addrinfo *Curl_doh(struct Curl_easy *data,
|
D | asyn-thread.c | 171 struct Curl_addrinfo *res; 665 struct Curl_addrinfo *Curl_resolver_getaddrinfo(struct Curl_easy *data, in Curl_resolver_getaddrinfo() 692 struct Curl_addrinfo *Curl_resolver_getaddrinfo(struct Curl_easy *data, in Curl_resolver_getaddrinfo()
|
D | connect.h | 117 const struct Curl_addrinfo *ai,
|
D | connect.c | 165 const struct Curl_addrinfo *ai, /* start connecting to this */ 559 static struct Curl_addrinfo *ainext(struct connectdata *conn, in ainext() 563 struct Curl_addrinfo *ai = conn->tempaddr[tempindex]; in ainext() 589 struct Curl_addrinfo *ai = conn->tempaddr[tempindex]; in trynextip() 1163 const struct Curl_addrinfo *ai, in singleipconnect() 1558 const struct Curl_addrinfo *ai, in Curl_socket()
|
D | socks.c | 281 struct Curl_addrinfo *hp = NULL; in Curl_SOCKS4() 797 struct Curl_addrinfo *hp = NULL; in Curl_SOCKS5()
|
D | urldata.h | 939 struct Curl_addrinfo *ip_addr; 940 struct Curl_addrinfo *tempaddr[2]; /* for happy eyeballs */
|
D | ftp.c | 117 struct Curl_addrinfo *ai, 931 struct Curl_addrinfo *res, *ai; in ftp_state_use_port() 3532 struct Curl_addrinfo *ai, in ftp_pasv_verbose()
|
/third_party/curl/tests/unit/ |
D | unit1305.c | 78 static struct Curl_addrinfo *fake_ai(void) in fake_ai() 80 static struct Curl_addrinfo *ai; in fake_ai() 84 ai = calloc(1, sizeof(struct Curl_addrinfo) + sizeof(struct sockaddr_in) + in fake_ai() 89 ai->ai_addr = (void *)((char *)ai + sizeof(struct Curl_addrinfo)); in fake_ai()
|
D | unit1608.c | 27 struct Curl_addrinfo **addr); 30 static struct Curl_addrinfo addrs[NUM_ADDRS]; 51 struct Curl_addrinfo *addrhead = addrs;
|
D | unit1609.c | 114 struct Curl_addrinfo *addr;
|
D | unit1607.c | 118 struct Curl_addrinfo *addr;
|