Home
last modified time | relevance | path

Searched refs:si6 (Results 1 – 3 of 3) sorted by relevance

/external/fio/os/windows/
Dposix.c919 struct sockaddr_in6 si6; in inet_ntop() local
921 memset(&si6, 0, sizeof(si6)); in inet_ntop()
922 si6.sin6_family = af; in inet_ntop()
923 memcpy(&si6.sin6_addr, src, sizeof(si6.sin6_addr)); in inet_ntop()
924 status = WSAAddressToString((struct sockaddr*)&si6, sizeof(si6), NULL, dst, &len); in inet_ntop()
959 struct sockaddr_in6 si6; in inet_pton() local
960 INT len = sizeof(si6); in inet_pton()
961 memset(&si6, 0, sizeof(si6)); in inet_pton()
962 si6.sin6_family = af; in inet_pton()
963 status = WSAStringToAddressA((char*)src, af, NULL, (struct sockaddr*)&si6, &len); in inet_pton()
[all …]
/external/curl/lib/
Dconnect.c248 struct sockaddr_in6 *si6 = (struct sockaddr_in6 *)&sa; in bindlocal() local
384 if(Curl_inet_pton(AF_INET6, myhost, &si6->sin6_addr) > 0) { in bindlocal()
385 si6->sin6_family = AF_INET6; in bindlocal()
386 si6->sin6_port = htons(port); in bindlocal()
393 si6->sin6_scope_id = atoi(scope_ptr); in bindlocal()
418 si6->sin6_family = AF_INET6; in bindlocal()
419 si6->sin6_port = htons(port); in bindlocal()
456 si6->sin6_port = ntohs(port); in bindlocal()
614 struct sockaddr_in6* si6 = NULL; in getaddressinfo() local
632 si6 = (struct sockaddr_in6*)sa; in getaddressinfo()
[all …]
Dhostcheck.c67 struct sockaddr_in6 si6; in hostmatch() local
87 else if(Curl_inet_pton(AF_INET6, hostname, &si6.sin6_addr) > 0) in hostmatch()