Lines Matching refs:Curl_addrinfo
78 Curl_freeaddrinfo(struct Curl_addrinfo *cahead) in Curl_freeaddrinfo()
80 struct Curl_addrinfo *vqualifier canext; in Curl_freeaddrinfo()
81 struct Curl_addrinfo *ca; in Curl_freeaddrinfo()
109 struct Curl_addrinfo **result) in Curl_getaddrinfo_ex()
113 struct Curl_addrinfo *cafirst = NULL; in Curl_getaddrinfo_ex()
114 struct Curl_addrinfo *calast = NULL; in Curl_getaddrinfo_ex()
115 struct Curl_addrinfo *ca; in Curl_getaddrinfo_ex()
148 ca = malloc(sizeof(struct Curl_addrinfo) + ss_size + namelen); in Curl_getaddrinfo_ex()
166 ca->ai_addr = (void *)((char *)ca + sizeof(struct Curl_addrinfo)); in Curl_getaddrinfo_ex()
256 struct Curl_addrinfo *
259 struct Curl_addrinfo *ai; in Curl_he2ai()
260 struct Curl_addrinfo *prevai = NULL; in Curl_he2ai()
261 struct Curl_addrinfo *firstai = NULL; in Curl_he2ai()
287 ai = calloc(1, sizeof(struct Curl_addrinfo) + ss_size + namelen); in Curl_he2ai()
293 ai->ai_addr = (void *)((char *)ai + sizeof(struct Curl_addrinfo)); in Curl_he2ai()
365 struct Curl_addrinfo *
368 struct Curl_addrinfo *ai; in Curl_ip2addr()
390 ai = calloc(1, sizeof(struct Curl_addrinfo) + addrsize + namelen); in Curl_ip2addr()
394 ai->ai_addr = (void *)((char *)ai + sizeof(struct Curl_addrinfo)); in Curl_ip2addr()
438 struct Curl_addrinfo *Curl_str2addr(char *address, int port) in Curl_str2addr()
461 struct Curl_addrinfo *Curl_unix2addr(const char *path, bool *longpath, in Curl_unix2addr()
464 struct Curl_addrinfo *ai; in Curl_unix2addr()
470 ai = calloc(1, sizeof(struct Curl_addrinfo) + sizeof(struct sockaddr_un)); in Curl_unix2addr()
473 ai->ai_addr = (void *)((char *)ai + sizeof(struct Curl_addrinfo)); in Curl_unix2addr()
563 void Curl_addrinfo_set_port(struct Curl_addrinfo *addrinfo, int port) in Curl_addrinfo_set_port()
565 struct Curl_addrinfo *ca; in Curl_addrinfo_set_port()