Home
last modified time | relevance | path

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

/curl/lib/
H A Dcurl_addrinfo.c263 struct sockaddr_in6 *addr6; in Curl_he2ai() local
330 addr6 = (void *)ai->ai_addr; /* storage area for this info */ in Curl_he2ai()
332 memcpy(&addr6->sin6_addr, curr, sizeof(struct in6_addr)); in Curl_he2ai()
334 addr6->sin6_family = (short)(he->h_addrtype); in Curl_he2ai()
336 addr6->sin6_family = (CURL_SA_FAMILY_T)(he->h_addrtype); in Curl_he2ai()
338 addr6->sin6_port = htons((unsigned short)port); in Curl_he2ai()
582 struct sockaddr_in6 *addr6; in Curl_addrinfo_set_port() local
593 addr6 = (void *)ca->ai_addr; /* storage area for this info */ in Curl_addrinfo_set_port()
594 addr6->sin6_port = htons((unsigned short)port); in Curl_addrinfo_set_port()
H A Ddoh.c910 struct sockaddr_in6 *addr6; in doh2ai() local
980 addr6 = (void *)ai->ai_addr; /* storage area for this info */ in doh2ai()
982 memcpy(&addr6->sin6_addr, &de->addr[i].ip.v6, sizeof(struct in6_addr)); in doh2ai()
984 addr6->sin6_family = (short)addrtype; in doh2ai()
986 addr6->sin6_family = addrtype; in doh2ai()
988 addr6->sin6_port = htons((unsigned short)port); in doh2ai()

Completed in 24 milliseconds