Home
last modified time | relevance | path

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

/external/curl/lib/
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);
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 …]
Dhostip.h67 struct Curl_addrinfo *addr;
120 struct Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn,
137 int Curl_num_addresses(const struct Curl_addrinfo *addr);
149 struct Curl_addrinfo *Curl_ipv4_resolve_r(const char *hostname, int port);
161 struct Curl_addrinfo *ai);
168 void Curl_printable_address(const struct Curl_addrinfo *ip,
190 Curl_cache_addr(struct Curl_easy *data, struct Curl_addrinfo *addr,
Dhostip4.c91 struct Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn, in Curl_getaddrinfo()
96 struct Curl_addrinfo *ai = NULL; in Curl_getaddrinfo()
122 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()
Dhostip6.c107 const struct Curl_addrinfo *ai) in dump_addrinfo()
131 struct Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn, in Curl_getaddrinfo()
137 struct Curl_addrinfo *res; in Curl_getaddrinfo()
Dhostip.c123 int Curl_num_addresses(const struct Curl_addrinfo *addr) in Curl_num_addresses()
140 void Curl_printable_address(const struct Curl_addrinfo *ai, char *buf, in Curl_printable_address()
337 struct Curl_addrinfo **addr);
351 struct Curl_addrinfo **addr) in Curl_shuffle_addr()
357 struct Curl_addrinfo **nodes; in Curl_shuffle_addr()
376 struct Curl_addrinfo *swap_tmp; in Curl_shuffle_addr()
415 struct Curl_addrinfo *addr, in Curl_cache_addr()
514 struct Curl_addrinfo *addr = NULL; in Curl_resolv()
909 struct Curl_addrinfo *head = NULL, *tail = NULL; in Curl_loadhostpairs()
943 struct Curl_addrinfo *ai; in Curl_loadhostpairs()
Dhostasyn.c71 struct Curl_addrinfo *ai) in Curl_addrinfo_callback()
120 struct Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn, in Curl_getaddrinfo()
Dasyn-ares.c90 struct Curl_addrinfo *temp_ai; /* intermediary result while fetching c-ares
502 struct Curl_addrinfo *ai) in compound_results()
504 struct Curl_addrinfo *ai_tail; in compound_results()
546 struct Curl_addrinfo *ai = Curl_he2ai(hostent, conn->async.port); in query_completed_cb()
625 struct Curl_addrinfo *Curl_resolver_getaddrinfo(struct connectdata *conn, in Curl_resolver_getaddrinfo()
Ddoh.c381 struct Curl_addrinfo *Curl_doh(struct connectdata *conn, in Curl_doh()
799 static struct Curl_addrinfo *
802 struct Curl_addrinfo *ai; in doh2ai()
803 struct Curl_addrinfo *prevai = NULL; in doh2ai()
804 struct Curl_addrinfo *firstai = NULL; in doh2ai()
834 ai = calloc(1, sizeof(struct Curl_addrinfo) + ss_size + hostlen); in doh2ai()
839 ai->ai_addr = (void *)((char *)ai + sizeof(struct Curl_addrinfo)); in doh2ai()
952 struct Curl_addrinfo *ai; in Curl_doh_is_resolved()
Dasyn.h156 struct Curl_addrinfo *Curl_resolver_getaddrinfo(struct connectdata *conn,
Ddoh.h35 struct Curl_addrinfo *Curl_doh(struct connectdata *conn,
Dasyn-thread.c172 struct Curl_addrinfo *res;
696 struct Curl_addrinfo *Curl_resolver_getaddrinfo(struct connectdata *conn, in Curl_resolver_getaddrinfo()
724 struct Curl_addrinfo *Curl_resolver_getaddrinfo(struct connectdata *conn, in Curl_resolver_getaddrinfo()
Dconnect.h108 const struct Curl_addrinfo *ai,
Dconnect.c164 const struct Curl_addrinfo *ai, /* start connecting to this */
556 static struct Curl_addrinfo *ainext(struct connectdata *conn, in ainext()
560 struct Curl_addrinfo *ai = conn->tempaddr[tempindex]; in ainext()
585 struct Curl_addrinfo *ai = conn->tempaddr[tempindex]; in trynextip()
1115 const struct Curl_addrinfo *ai, in singleipconnect()
1490 const struct Curl_addrinfo *ai, in Curl_socket()
Dsocks.c277 struct Curl_addrinfo *hp = NULL; in Curl_SOCKS4()
795 struct Curl_addrinfo *hp = NULL; in Curl_SOCKS5()
Durldata.h892 struct Curl_addrinfo *ip_addr;
893 struct Curl_addrinfo *tempaddr[2]; /* for happy eyeballs */
Dftp.c116 struct Curl_addrinfo *ai,
913 struct Curl_addrinfo *res, *ai; in ftp_state_use_port()
3471 struct Curl_addrinfo *ai, in ftp_pasv_verbose()
/external/curl/tests/unit/
Dunit1305.c76 static struct Curl_addrinfo *fake_ai(void) in fake_ai()
78 static struct Curl_addrinfo *ai; in fake_ai()
82 ai = calloc(1, sizeof(struct Curl_addrinfo) + sizeof(struct sockaddr_in) + in fake_ai()
87 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.c112 struct Curl_addrinfo *addr;
/external/curl/
DCHANGES3408 - Curl_addrinfo: use one malloc instead of three
3410 To reduce the amount of allocations needed for creating a Curl_addrinfo