Lines Matching refs:ss_size
116 size_t ss_size; in Curl_getaddrinfo_ex() local
132 ss_size = sizeof(struct sockaddr_in); in Curl_getaddrinfo_ex()
135 ss_size = sizeof(struct sockaddr_in6); in Curl_getaddrinfo_ex()
145 if((size_t)ai->ai_addrlen < ss_size) in Curl_getaddrinfo_ex()
148 ca = malloc(sizeof(struct Curl_addrinfo) + ss_size + namelen); in Curl_getaddrinfo_ex()
161 ca->ai_addrlen = (curl_socklen_t)ss_size; in Curl_getaddrinfo_ex()
167 memcpy(ca->ai_addr, ai->ai_addr, ss_size); in Curl_getaddrinfo_ex()
170 ca->ai_canonname = (void *)((char *)ca->ai_addr + ss_size); in Curl_getaddrinfo_ex()
277 size_t ss_size; in Curl_he2ai() local
281 ss_size = sizeof(struct sockaddr_in6); in Curl_he2ai()
284 ss_size = sizeof(struct sockaddr_in); in Curl_he2ai()
287 ai = calloc(1, sizeof(struct Curl_addrinfo) + ss_size + namelen); in Curl_he2ai()
295 ai->ai_canonname = (char *)ai->ai_addr + ss_size; in Curl_he2ai()
312 ai->ai_addrlen = (curl_socklen_t)ss_size; in Curl_he2ai()