Home
last modified time | relevance | path

Searched refs:sa6 (Results 1 – 21 of 21) sorted by relevance

/external/c-ares/
Dares_process.c439 struct sockaddr_in6 sa6; in read_udp_packets() member
479 fromlen = sizeof(from.sa6); in read_udp_packets()
876 struct sockaddr_in6 sa6; in configure_socket() member
921 memset(&local.sa6, 0, sizeof(local.sa6)); in configure_socket()
922 local.sa6.sin6_family = AF_INET6; in configure_socket()
923 memcpy(&local.sa6.sin6_addr, channel->local_ip6, sizeof(channel->local_ip6)); in configure_socket()
924 if (bind(s, &local.sa, sizeof(local.sa6)) < 0) in configure_socket()
939 struct sockaddr_in6 sa6; in open_tcp_socket() member
955 sa = (void *)&saddr.sa6; in open_tcp_socket()
956 salen = sizeof(saddr.sa6); in open_tcp_socket()
[all …]
/external/curl/tests/server/
Dsockfilt.c1250 memset(&listener.sa6, 0, sizeof(listener.sa6)); in sockdaemon()
1251 listener.sa6.sin6_family = AF_INET6; in sockdaemon()
1252 listener.sa6.sin6_addr = in6addr_any; in sockdaemon()
1253 listener.sa6.sin6_port = htons(*listenport); in sockdaemon()
1254 rc = bind(sock, &listener.sa, sizeof(listener.sa6)); in sockdaemon()
1276 la_size = sizeof(localaddr.sa6); in sockdaemon()
1292 *listenport = ntohs(localaddr.sa6.sin6_port); in sockdaemon()
1489 memset(&me.sa6, 0, sizeof(me.sa6)); in main()
1490 me.sa6.sin6_family = AF_INET6; in main()
1491 me.sa6.sin6_port = htons(connectport); in main()
[all …]
Dtftpd.c651 fromaddrlen = sizeof(fromaddr.sa6); in synchnet()
796 memset(&me.sa6, 0, sizeof(me.sa6)); in main()
797 me.sa6.sin6_family = AF_INET6; in main()
798 me.sa6.sin6_addr = in6addr_any; in main()
799 me.sa6.sin6_port = htons(port); in main()
800 rc = bind(sock, &me.sa, sizeof(me.sa6)); in main()
827 fromlen = sizeof(from.sa6); in main()
860 from.sa6.sin6_family = AF_INET6; in main()
867 if(connect(peer, &from.sa, sizeof(from.sa6)) < 0) { in main()
Dserver_sockaddr.h34 struct sockaddr_in6 sa6; member
Dsws.c1346 memset(&serveraddr.sa6, 0, sizeof(serveraddr.sa6)); in connect_to()
1347 serveraddr.sa6.sin6_family = AF_INET6; in connect_to()
1348 serveraddr.sa6.sin6_port = htons(port); in connect_to()
1349 if(Curl_inet_pton(AF_INET6, ipaddr, &serveraddr.sa6.sin6_addr) < 1) { in connect_to()
1355 rc = connect(serverfd, &serveraddr.sa, sizeof(serveraddr.sa6)); in connect_to()
2127 memset(&me.sa6, 0, sizeof(me.sa6)); in main()
2128 me.sa6.sin6_family = AF_INET6; in main()
2129 me.sa6.sin6_addr = in6addr_any; in main()
2130 me.sa6.sin6_port = htons(port); in main()
2131 rc = bind(sock, &me.sa, sizeof(me.sa6)); in main()
Drtspd.c1311 memset(&me.sa6, 0, sizeof(me.sa6)); in main()
1312 me.sa6.sin6_family = AF_INET6; in main()
1313 me.sa6.sin6_addr = in6addr_any; in main()
1314 me.sa6.sin6_port = htons(port); in main()
1315 rc = bind(sock, &me.sa, sizeof(me.sa6)); in main()
/external/openssh/openbsd-compat/
Dport-aix.c411 struct sockaddr_in6 *sa6; in sshaix_getnameinfo() local
416 sa6 = (struct sockaddr_in6 *)sa; in sshaix_getnameinfo()
417 a6 = sa6->sin6_addr.u6_addr.u6_addr32; in sshaix_getnameinfo()
421 snprintf(serv, servlen, "%d", sa6->sin6_port); in sshaix_getnameinfo()
/external/mdnsresponder/mDNSWindows/
DmDNSWin32.c278 struct sockaddr_in6 sa6; in mDNSPlatformInit() local
375 sa6.sin6_family = AF_INET6; in mDNSPlatformInit()
376 sa6.sin6_addr = in6addr_any; in mDNSPlatformInit()
377 sa6.sin6_scope_id = 0; in mDNSPlatformInit()
382 …err = SetupSocket( inMDNS, (const struct sockaddr*) &sa6, zeroIPPort, &inMDNS->p->unicastSock6.fd … in mDNSPlatformInit()
390 sa6len = sizeof( sa6 ); in mDNSPlatformInit()
391 err = getsockname( inMDNS->p->unicastSock6.fd, (struct sockaddr*) &sa6, &sa6len ); in mDNSPlatformInit()
393 inMDNS->p->unicastSock6.port.NotAnInteger = sa6.sin6_port; in mDNSPlatformInit()
1563 struct sockaddr_in6 * sa6; in mDNSPlatformSendUDP() local
1565 sa6 = (struct sockaddr_in6 *) &addr; in mDNSPlatformSendUDP()
[all …]
/external/fdlibm/
Ds_erf.c169 sa6 = 1.08635005541779435134e+02, /* 0x405B28A3, 0xEE48AE2C */ variable
233 sa5+s*(sa6+s*(sa7+s*sa8)))))));
294 sa5+s*(sa6+s*(sa7+s*sa8)))))));
/external/openssh/
Dloginrec.c650 struct sockaddr_in6 *sa6; in construct_utmp() local
710 sa6 = ((struct sockaddr_in6 *)&li->hostaddr.sa); in construct_utmp()
711 memcpy(ut->ut_addr_v6, sa6->sin6_addr.s6_addr, 16); in construct_utmp()
712 if (IN6_IS_ADDR_V4MAPPED(&sa6->sin6_addr)) { in construct_utmp()
747 struct sockaddr_in6 *sa6; in construct_utmpx() local
792 sa6 = ((struct sockaddr_in6 *)&li->hostaddr.sa); in construct_utmpx()
793 memcpy(utx->ut_addr_v6, sa6->sin6_addr.s6_addr, 16); in construct_utmpx()
794 if (IN6_IS_ADDR_V4MAPPED(&sa6->sin6_addr)) { in construct_utmpx()
/external/libnl/lib/
Daddr.c717 struct sockaddr_in6 *sa6 = (struct sockaddr_in6 *) sa; in nl_addr_fill_sockaddr() local
719 if (*salen < sizeof(*sa6)) in nl_addr_fill_sockaddr()
722 sa6->sin6_family = addr->a_family; in nl_addr_fill_sockaddr()
723 memcpy(&sa6->sin6_addr, addr->a_addr, 16); in nl_addr_fill_sockaddr()
724 *salen = sizeof(*sa6); in nl_addr_fill_sockaddr()
/external/curl/lib/
Dif2ip.c70 const struct sockaddr_in6 * sa6 = (const struct sockaddr_in6 *)(void *) sa; in Curl_ipv6_scope()
71 const unsigned char *b = sa6->sin6_addr.s6_addr; in Curl_ipv6_scope()
Dhostip.c171 const struct sockaddr_in6 *sa6; in Curl_printable_address() local
183 sa6 = (const void *)ai->ai_addr; in Curl_printable_address()
184 ipaddr6 = &sa6->sin6_addr; in Curl_printable_address()
Dconnect.c1366 struct sockaddr_in6 * const sa6 = (void *)&addr->sa_addr; in Curl_socket() local
1367 sa6->sin6_scope_id = conn->scope_id; in Curl_socket()
Dftp.c994 struct sockaddr_in6 * const sa6 = (void *)sa; in ftp_state_use_port() local
1050 if(Curl_inet_pton(AF_INET6, string_ftpport, sa6) == 1) { in ftp_state_use_port()
1121 Curl_inet_ntop(sa->sa_family, &sa6->sin6_addr, hbuf, sizeof(hbuf)); in ftp_state_use_port()
1181 sa6->sin6_port = htons(port); in ftp_state_use_port()
1273 port = ntohs(sa6->sin6_port); in ftp_state_use_port()
/external/mdnsresponder/mDNSShared/
Ddnssd_clientstub.c1267 struct sockaddr_in6 sa6; in handle_addrinfo_response() local
1268 …ckaddr *const sa = (rrtype == kDNSServiceType_A) ? (struct sockaddr*)&sa4 : (struct sockaddr*)&sa6; in handle_addrinfo_response()
1281 memset(&sa6, 0, sizeof(sa6)); in handle_addrinfo_response()
1283 sa6.sin6_len = sizeof(struct sockaddr_in6); in handle_addrinfo_response()
1285 sa6.sin6_family = AF_INET6; in handle_addrinfo_response()
1291 memcpy(&sa6.sin6_addr, rdata, rdlen); in handle_addrinfo_response()
1292 if (IN6_IS_ADDR_LINKLOCAL(&sa6.sin6_addr)) sa6.sin6_scope_id = cbh->cb_interface; in handle_addrinfo_response()
DDebugServices.c2871 struct sockaddr_in6 sa6; in DebugServicesTest() local
2873 memset( &sa6, 0, sizeof( sa6 ) ); in DebugServicesTest()
2874 sa6.sin6_family = AF_INET6; in DebugServicesTest()
2875 p = (uint8_t *) &sa6.sin6_port; in DebugServicesTest()
2878 sa6.sin6_addr.s6_addr[ 0 ] = 0xFE; in DebugServicesTest()
2879 sa6.sin6_addr.s6_addr[ 1 ] = 0x80; in DebugServicesTest()
2880 sa6.sin6_addr.s6_addr[ 15 ] = 0x01; in DebugServicesTest()
2881 sa6.sin6_scope_id = 2; in DebugServicesTest()
2882 DebugSNPrintF( s, sizeof( s ), "%##a", &sa6 ); in DebugServicesTest()
/external/llvm/lib/Target/Mips/
DMips16InstrFormats.td562 bits<6> sa6;
569 let Inst{26-22} = sa6{4-0};
570 let Inst{21} = sa6{5};
/external/libnl/
Dmake.log61 if (*salen < sizeof(*sa6))
/external/lisa/ipynb/examples/wlgen/
Drtapp_example.ipynb1042 …VuvrqqxUebi4rv/HGG5Wenq7jx49r5cqVql69uuLj4wvXzc/PV3R0tBYuXKgePXooISFB\nH3/8sa6//nq/+7rrrrs0duxYhYS…
/external/lisa/ipynb/tutorial/
D06_TraceAnalysis.ipynb1253 …\niPgiXZ09bct9bvoV4Jf6evVzwO/SLbv7FPA3dHXYeiWtt9HnOVvrwX+iW+L7Mbo69jq6zxzZ/sa6\nfvd/TfdhTJ+j67N//c…