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