Home
last modified time | relevance | path

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

/external/curl/tests/server/
Dsockfilt.c1252 memset(&listener.sa6, 0, sizeof(listener.sa6)); in sockdaemon()
1253 listener.sa6.sin6_family = AF_INET6; in sockdaemon()
1254 listener.sa6.sin6_addr = in6addr_any; in sockdaemon()
1255 listener.sa6.sin6_port = htons(*listenport); in sockdaemon()
1256 rc = bind(sock, &listener.sa, sizeof(listener.sa6)); in sockdaemon()
1278 la_size = sizeof(localaddr.sa6); in sockdaemon()
1294 *listenport = ntohs(localaddr.sa6.sin6_port); in sockdaemon()
1491 memset(&me.sa6, 0, sizeof(me.sa6)); in main()
1492 me.sa6.sin6_family = AF_INET6; in main()
1493 me.sa6.sin6_port = htons(connectport); in main()
[all …]
Dtftpd.c656 fromaddrlen = sizeof(fromaddr.sa6); in synchnet()
801 memset(&me.sa6, 0, sizeof(me.sa6)); in main()
802 me.sa6.sin6_family = AF_INET6; in main()
803 me.sa6.sin6_addr = in6addr_any; in main()
804 me.sa6.sin6_port = htons(port); in main()
805 rc = bind(sock, &me.sa, sizeof(me.sa6)); in main()
832 fromlen = sizeof(from.sa6); in main()
865 from.sa6.sin6_family = AF_INET6; in main()
872 if(connect(peer, &from.sa, sizeof(from.sa6)) < 0) { in main()
Dsws.c1408 memset(&serveraddr.sa6, 0, sizeof(serveraddr.sa6)); in connect_to()
1409 serveraddr.sa6.sin6_family = AF_INET6; in connect_to()
1410 serveraddr.sa6.sin6_port = htons(port); in connect_to()
1411 if(Curl_inet_pton(AF_INET6, ipaddr, &serveraddr.sa6.sin6_addr) < 1) { in connect_to()
1417 rc = connect(serverfd, &serveraddr.sa, sizeof(serveraddr.sa6)); in connect_to()
2189 memset(&me.sa6, 0, sizeof(me.sa6)); in main()
2190 me.sa6.sin6_family = AF_INET6; in main()
2191 me.sa6.sin6_addr = in6addr_any; in main()
2192 me.sa6.sin6_port = htons(port); in main()
2193 rc = bind(sock, &me.sa, sizeof(me.sa6)); in main()
Dserver_sockaddr.h34 struct sockaddr_in6 sa6; member
Drtspd.c1318 memset(&me.sa6, 0, sizeof(me.sa6)); in main()
1319 me.sa6.sin6_family = AF_INET6; in main()
1320 me.sa6.sin6_addr = in6addr_any; in main()
1321 me.sa6.sin6_port = htons(port); in main()
1322 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/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.c179 const struct sockaddr_in6 *sa6; in Curl_printable_address() local
191 sa6 = (const void *)ai->ai_addr; in Curl_printable_address()
192 ipaddr6 = &sa6->sin6_addr; in Curl_printable_address()
Dconnect.c1412 struct sockaddr_in6 * const sa6 = (void *)&addr->sa_addr; in Curl_socket() local
1413 sa6->sin6_scope_id = conn->scope_id; in Curl_socket()
Dftp.c939 struct sockaddr_in6 * const sa6 = (void *)sa; in ftp_state_use_port() local
998 if(Curl_inet_pton(AF_INET6, string_ftpport, sa6) == 1) { in ftp_state_use_port()
1071 Curl_inet_ntop(sa->sa_family, &sa6->sin6_addr, hbuf, sizeof(hbuf)); in ftp_state_use_port()
1132 sa6->sin6_port = htons(port); in ftp_state_use_port()
1224 port = ntohs(sa6->sin6_port); in ftp_state_use_port()
/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/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/swiftshader/third_party/llvm-7.0/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/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/Mips/
DMipsGenMCCodeEmitter.inc6888 // op: sa6