Home
last modified time | relevance | path

Searched refs:addr6 (Results 1 – 2 of 2) sorted by relevance

/curl/lib/
H A Dcurl_addrinfo.c264 struct sockaddr_in6 *addr6; in Curl_he2ai() local
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
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
[all …]
H A Ddoh.c904 struct sockaddr_in6 *addr6; in doh2ai() local
974 addr6 = (void *)ai->ai_addr; /* storage area for this info */ in doh2ai()
976 memcpy(&addr6->sin6_addr, &de->addr[i].ip.v6, sizeof(struct in6_addr)); in doh2ai()
978 addr6->sin6_family = (short)addrtype; in doh2ai()
980 addr6->sin6_family = addrtype; in doh2ai()
982 addr6->sin6_port = htons((unsigned short)port); in doh2ai()

Completed in 13 milliseconds