Home
last modified time | relevance | path

Searched refs:Curl_addrinfo (Results 1 – 21 of 21) sorted by relevance

/third_party/curl/lib/
Dcurl_addrinfo.c81 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 …]
Dcurl_addrinfo.h50 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);
Dhostip.h67 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,
Dhostip.c128 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 …]
Dhostip4.c92 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()
Dhostip6.c106 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()
Dhostasyn.c71 struct Curl_addrinfo *ai) in Curl_addrinfo_callback()
118 struct Curl_addrinfo *Curl_getaddrinfo(struct Curl_easy *data, in Curl_getaddrinfo()
Dasyn-ares.c90 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()
Ddoh.c393 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()
Dasyn.h156 struct Curl_addrinfo *Curl_resolver_getaddrinfo(struct Curl_easy *data,
Ddoh.h35 struct Curl_addrinfo *Curl_doh(struct Curl_easy *data,
Dasyn-thread.c171 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()
Dconnect.h117 const struct Curl_addrinfo *ai,
Dconnect.c165 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()
Dsocks.c281 struct Curl_addrinfo *hp = NULL; in Curl_SOCKS4()
797 struct Curl_addrinfo *hp = NULL; in Curl_SOCKS5()
Durldata.h939 struct Curl_addrinfo *ip_addr;
940 struct Curl_addrinfo *tempaddr[2]; /* for happy eyeballs */
Dftp.c117 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/
Dunit1305.c78 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()
Dunit1608.c27 struct Curl_addrinfo **addr);
30 static struct Curl_addrinfo addrs[NUM_ADDRS];
51 struct Curl_addrinfo *addrhead = addrs;
Dunit1609.c114 struct Curl_addrinfo *addr;
Dunit1607.c118 struct Curl_addrinfo *addr;