Searched refs:sa6 (Results 1 – 11 of 11) sorted by relevance
/curl/tests/server/ |
H A D | server_sockaddr.h | 36 struct sockaddr_in6 sa6; member
|
H A D | sockfilt.c | 1274 memset(&listener.sa6, 0, sizeof(listener.sa6)); in sockdaemon() 1275 listener.sa6.sin6_family = AF_INET6; in sockdaemon() 1276 listener.sa6.sin6_addr = in6addr_any; in sockdaemon() 1277 listener.sa6.sin6_port = htons(*listenport); in sockdaemon() 1278 rc = bind(sock, &listener.sa, sizeof(listener.sa6)); in sockdaemon() 1300 la_size = sizeof(localaddr.sa6); in sockdaemon() 1316 *listenport = ntohs(localaddr.sa6.sin6_port); in sockdaemon() 1514 memset(&me.sa6, 0, sizeof(me.sa6)); in main() 1515 me.sa6.sin6_family = AF_INET6; in main() 1516 me.sa6.sin6_port = htons(connectport); in main() [all …]
|
H A D | tftpd.c | 540 fromaddrlen = sizeof(fromaddr.sa6); in synchnet() 690 memset(&me.sa6, 0, sizeof(me.sa6)); in main() 691 me.sa6.sin6_family = AF_INET6; in main() 692 me.sa6.sin6_addr = in6addr_any; in main() 693 me.sa6.sin6_port = htons(port); in main() 694 rc = bind(sock, &me.sa, sizeof(me.sa6)); in main() 716 la_size = sizeof(localaddr.sa6); in main() 732 port = ntohs(localaddr.sa6.sin6_port); in main() 773 fromlen = sizeof(from.sa6); in main() 806 from.sa6.sin6_family = AF_INET6; in main() [all …]
|
H A D | mqttd.c | 852 memset(&listener.sa6, 0, sizeof(listener.sa6)); in sockdaemon() 853 listener.sa6.sin6_family = AF_INET6; in sockdaemon() 854 listener.sa6.sin6_addr = in6addr_any; in sockdaemon() 855 listener.sa6.sin6_port = htons(*listenport); in sockdaemon() 856 rc = bind(sock, &listener.sa, sizeof(listener.sa6)); in sockdaemon() 878 la_size = sizeof(localaddr.sa6); in sockdaemon() 894 *listenport = ntohs(localaddr.sa6.sin6_port); in sockdaemon()
|
H A D | socksd.c | 867 memset(&listener.sa6, 0, sizeof(listener.sa6)); in sockdaemon() 868 listener.sa6.sin6_family = AF_INET6; in sockdaemon() 869 listener.sa6.sin6_addr = in6addr_any; in sockdaemon() 870 listener.sa6.sin6_port = htons(*listenport); in sockdaemon() 871 rc = bind(sock, &listener.sa, sizeof(listener.sa6)); in sockdaemon() 905 la_size = sizeof(localaddr.sa6); in sockdaemon() 923 *listenport = ntohs(localaddr.sa6.sin6_port); in sockdaemon()
|
H A D | rtspd.c | 1192 memset(&me.sa6, 0, sizeof(me.sa6)); in main() 1193 me.sa6.sin6_family = AF_INET6; in main() 1194 me.sa6.sin6_addr = in6addr_any; in main() 1195 me.sa6.sin6_port = htons(port); in main() 1196 rc = bind(sock, &me.sa, sizeof(me.sa6)); in main() 1217 la_size = sizeof(localaddr.sa6); in main() 1233 port = ntohs(localaddr.sa6.sin6_port); in main()
|
H A D | sws.c | 1350 memset(&serveraddr.sa6, 0, sizeof(serveraddr.sa6)); in connect_to() 1351 serveraddr.sa6.sin6_family = AF_INET6; in connect_to() 1352 serveraddr.sa6.sin6_port = htons(port); in connect_to() 1359 rc = connect(serverfd, &serveraddr.sa, sizeof(serveraddr.sa6)); in connect_to() 2215 memset(&me.sa6, 0, sizeof(me.sa6)); in main() 2216 me.sa6.sin6_family = AF_INET6; in main() 2217 me.sa6.sin6_addr = in6addr_any; in main() 2218 me.sa6.sin6_port = htons(port); in main() 2219 rc = bind(sock, &me.sa, sizeof(me.sa6)); in main() 2251 la_size = sizeof(localaddr.sa6); in main() [all …]
|
/curl/lib/ |
H A D | if2ip.c | 70 const struct sockaddr_in6 * sa6 = (const struct sockaddr_in6 *)(void *) sa; in Curl_ipv6_scope() local 71 const unsigned char *b = sa6->sin6_addr.s6_addr; in Curl_ipv6_scope()
|
H A D | hostip.c | 149 const struct sockaddr_in6 *sa6 = (const void *)ai->ai_addr; in Curl_printable_address() local 150 const struct in6_addr *ipaddr6 = &sa6->sin6_addr; in Curl_printable_address() 534 struct sockaddr_in6 sa6; in get_localhost6() local 541 sa6.sin6_family = AF_INET6; in get_localhost6() 542 sa6.sin6_port = htons(port16); in get_localhost6() 543 sa6.sin6_flowinfo = 0; in get_localhost6() 544 sa6.sin6_scope_id = 0; in get_localhost6() 547 memcpy(&sa6.sin6_addr, ipv6, sizeof(ipv6)); in get_localhost6() 556 memcpy(ca->ai_addr, &sa6, ss_size); in get_localhost6()
|
H A D | ftp.c | 863 struct sockaddr_in6 * const sa6 = (void *)sa; in ftp_state_use_port() local 912 if(Curl_inet_pton(AF_INET6, string_ftpport, &sa6->sin6_addr) == 1) { in ftp_state_use_port() 991 r = Curl_inet_ntop(sa->sa_family, &sa6->sin6_addr, hbuf, sizeof(hbuf)); in ftp_state_use_port() 1049 sa6->sin6_port = htons(port); in ftp_state_use_port() 1140 port = ntohs(sa6->sin6_port); in ftp_state_use_port()
|
H A D | cf-socket.c | 375 struct sockaddr_in6 * const sa6 = (void *)&addr->curl_sa_addr; in socket_open() local 376 sa6->sin6_scope_id = data->conn->scope_id; in socket_open()
|
Completed in 69 milliseconds