/external/toybox/toys/net/ |
ftpget.c | 95 struct sockaddr_in6 si6; local 97 socklen_t sl = sizeof(si6); 111 if (getpeername(TT.fd, (void *)&si6, &sl)) perror_exit("getpeername"); 149 si6.sin6_port = SWAP_BE16(port); // same field size/offset for v4 and v6 150 port = xsocket(si6.sin6_family, SOCK_STREAM, 0); 151 if (connect(port, (void *)&si6, sizeof(si6))) perror_exit("connect");
|
/external/curl/lib/ |
hostcheck.c | 67 struct sockaddr_in6 si6; local 87 else if(Curl_inet_pton(AF_INET6, hostname, &si6.sin6_addr) > 0)
|
connect.c | 249 struct sockaddr_in6 *si6 = (struct sockaddr_in6 *)&sa; local 385 if(Curl_inet_pton(AF_INET6, myhost, &si6->sin6_addr) > 0) { 386 si6->sin6_family = AF_INET6; 387 si6->sin6_port = htons(port); 394 si6->sin6_scope_id = atoi(scope_ptr); 419 si6->sin6_family = AF_INET6; 420 si6->sin6_port = htons(port); 457 si6->sin6_port = ntohs(port); 617 struct sockaddr_in6 *si6 = NULL; local 635 si6 = (struct sockaddr_in6 *)(void *) sa [all...] |
/external/fio/os/windows/ |
posix.c | 981 struct sockaddr_in6 si6; local 983 memset(&si6, 0, sizeof(si6)); 984 si6.sin6_family = af; 985 memcpy(&si6.sin6_addr, src, sizeof(si6.sin6_addr)); 986 status = WSAAddressToString((struct sockaddr*)&si6, sizeof(si6), NULL, dst, &len); 1021 struct sockaddr_in6 si6; local 1022 INT len = sizeof(si6); [all...] |