/external/curl/lib/ |
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 | 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 | hostip.h | 67 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,
|
D | hostip4.c | 91 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()
|
D | hostip6.c | 107 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()
|
D | hostip.c | 123 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()
|
D | hostasyn.c | 71 struct Curl_addrinfo *ai) in Curl_addrinfo_callback() 120 struct Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn, in Curl_getaddrinfo()
|
D | asyn-ares.c | 90 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()
|
D | doh.c | 381 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()
|
D | asyn.h | 156 struct Curl_addrinfo *Curl_resolver_getaddrinfo(struct connectdata *conn,
|
D | doh.h | 35 struct Curl_addrinfo *Curl_doh(struct connectdata *conn,
|
D | asyn-thread.c | 172 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()
|
D | connect.h | 108 const struct Curl_addrinfo *ai,
|
D | connect.c | 164 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()
|
D | socks.c | 277 struct Curl_addrinfo *hp = NULL; in Curl_SOCKS4() 795 struct Curl_addrinfo *hp = NULL; in Curl_SOCKS5()
|
D | urldata.h | 892 struct Curl_addrinfo *ip_addr; 893 struct Curl_addrinfo *tempaddr[2]; /* for happy eyeballs */
|
D | ftp.c | 116 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/ |
D | unit1305.c | 76 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()
|
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 | 112 struct Curl_addrinfo *addr;
|
/external/curl/ |
D | CHANGES | 3408 - Curl_addrinfo: use one malloc instead of three 3410 To reduce the amount of allocations needed for creating a Curl_addrinfo
|