Home
last modified time | relevance | path

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

/external/toybox/toys/net/
Dftpget.c93 struct sockaddr_in6 si6; in ftpget_main() local
95 socklen_t sl = sizeof(si6); in ftpget_main()
110 if (getpeername(TT.fd, (void *)&si6, &sl)) perror_exit("getpeername"); in ftpget_main()
148 si6.sin6_port = SWAP_BE16(port); // same field size/offset for v4 and v6 in ftpget_main()
149 port = xsocket(si6.sin6_family, SOCK_STREAM, 0); in ftpget_main()
150 if (connect(port, (void *)&si6, sizeof(si6))) perror_exit("connect"); in ftpget_main()
/external/curl/lib/
Dconnect.c251 struct sockaddr_in6 *si6 = (struct sockaddr_in6 *)&sa; in bindlocal() local
391 if(Curl_inet_pton(AF_INET6, myhost, &si6->sin6_addr) > 0) { in bindlocal()
392 si6->sin6_family = AF_INET6; in bindlocal()
393 si6->sin6_port = htons(port); in bindlocal()
400 si6->sin6_scope_id = atoi(scope_ptr); in bindlocal()
429 si6->sin6_family = AF_INET6; in bindlocal()
430 si6->sin6_port = htons(port); in bindlocal()
468 si6->sin6_port = ntohs(port); in bindlocal()
634 struct sockaddr_in6 *si6 = NULL; in getaddressinfo() local
652 si6 = (struct sockaddr_in6 *)(void *) sa; in getaddressinfo()
[all …]
Dhostcheck.c72 struct sockaddr_in6 si6; in hostmatch() local
92 if(Curl_inet_pton(AF_INET6, hostname, &si6.sin6_addr) > 0) in hostmatch()