Lines Matching refs:Curl_addrinfo
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 *
261 struct Curl_addrinfo *ai; in Curl_he2ai()
262 struct Curl_addrinfo *prevai = NULL; in Curl_he2ai()
263 struct Curl_addrinfo *firstai = NULL; in Curl_he2ai()
289 ai = calloc(1, sizeof(struct Curl_addrinfo) + ss_size + namelen); in Curl_he2ai()
295 ai->ai_addr = (void *)((char *)ai + sizeof(struct Curl_addrinfo)); in Curl_he2ai()
371 struct Curl_addrinfo *
374 struct Curl_addrinfo *ai; in Curl_ip2addr()
447 struct Curl_addrinfo *Curl_str2addr(char *address, int port) in Curl_str2addr()
470 struct Curl_addrinfo *Curl_unix2addr(const char *path, bool *longpath, in Curl_unix2addr()
473 struct Curl_addrinfo *ai; in Curl_unix2addr()
479 ai = calloc(1, sizeof(struct Curl_addrinfo) + sizeof(struct sockaddr_un)); in Curl_unix2addr()
482 ai->ai_addr = (void *)((char *)ai + sizeof(struct Curl_addrinfo)); in Curl_unix2addr()
572 void Curl_addrinfo_set_port(struct Curl_addrinfo *addrinfo, int port) in Curl_addrinfo_set_port()
574 struct Curl_addrinfo *ca; in Curl_addrinfo_set_port()