Lines Matching refs:addr6
264 struct sockaddr_in6 *addr6; in Curl_he2ai() local
331 addr6 = (void *)ai->ai_addr; /* storage area for this info */ in Curl_he2ai()
333 memcpy(&addr6->sin6_addr, curr, sizeof(struct in6_addr)); in Curl_he2ai()
335 addr6->sin6_family = (short)(he->h_addrtype); in Curl_he2ai()
337 addr6->sin6_family = (CURL_SA_FAMILY_T)(he->h_addrtype); in Curl_he2ai()
339 addr6->sin6_port = htons((unsigned short)port); in Curl_he2ai()
373 struct sockaddr_in6 *addr6; in Curl_ip2addr() local
418 addr6 = (void *)ai->ai_addr; /* storage area for this info */ in Curl_ip2addr()
420 memcpy(&addr6->sin6_addr, inaddr, sizeof(struct in6_addr)); in Curl_ip2addr()
422 addr6->sin6_family = (short)af; in Curl_ip2addr()
424 addr6->sin6_family = (CURL_SA_FAMILY_T)af; in Curl_ip2addr()
426 addr6->sin6_port = htons((unsigned short)port); in Curl_ip2addr()
568 struct sockaddr_in6 *addr6; in Curl_addrinfo_set_port() local
579 addr6 = (void *)ca->ai_addr; /* storage area for this info */ in Curl_addrinfo_set_port()
580 addr6->sin6_port = htons((unsigned short)port); in Curl_addrinfo_set_port()