Home
last modified time | relevance | path

Searched refs:sa6 (Results 1 – 17 of 17) 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.c1229 memset(&listener.sa6, 0, sizeof(listener.sa6)); in sockdaemon()
1230 listener.sa6.sin6_family = AF_INET6; in sockdaemon()
1231 listener.sa6.sin6_addr = in6addr_any; in sockdaemon()
1232 listener.sa6.sin6_port = htons(*listenport); in sockdaemon()
1233 rc = bind(sock, &listener.sa, sizeof(listener.sa6)); in sockdaemon()
1255 la_size = sizeof(localaddr.sa6); in sockdaemon()
1271 *listenport = ntohs(localaddr.sa6.sin6_port); in sockdaemon()
1468 memset(&me.sa6, 0, sizeof(me.sa6)); in main()
1469 me.sa6.sin6_family = AF_INET6; in main()
1470 me.sa6.sin6_port = htons(connectport); in main()
[all …]
Dtftpd.c647 fromaddrlen = sizeof(fromaddr.sa6); in synchnet()
792 memset(&me.sa6, 0, sizeof(me.sa6)); in main()
793 me.sa6.sin6_family = AF_INET6; in main()
794 me.sa6.sin6_addr = in6addr_any; in main()
795 me.sa6.sin6_port = htons(port); in main()
796 rc = bind(sock, &me.sa, sizeof(me.sa6)); in main()
823 fromlen = sizeof(from.sa6); in main()
856 from.sa6.sin6_family = AF_INET6; in main()
863 if(connect(peer, &from.sa, sizeof(from.sa6)) < 0) { in main()
Dserver_sockaddr.h34 struct sockaddr_in6 sa6; member
Dsws.c1341 memset(&serveraddr.sa6, 0, sizeof(serveraddr.sa6)); in connect_to()
1342 serveraddr.sa6.sin6_family = AF_INET6; in connect_to()
1343 serveraddr.sa6.sin6_port = htons(port); in connect_to()
1344 if(Curl_inet_pton(AF_INET6, ipaddr, &serveraddr.sa6.sin6_addr) < 1) { in connect_to()
1350 rc = connect(serverfd, &serveraddr.sa, sizeof(serveraddr.sa6)); in connect_to()
2121 memset(&me.sa6, 0, sizeof(me.sa6)); in main()
2122 me.sa6.sin6_family = AF_INET6; in main()
2123 me.sa6.sin6_addr = in6addr_any; in main()
2124 me.sa6.sin6_port = htons(port); in main()
2125 rc = bind(sock, &me.sa, sizeof(me.sa6)); in main()
Drtspd.c1300 memset(&me.sa6, 0, sizeof(me.sa6)); in main()
1301 me.sa6.sin6_family = AF_INET6; in main()
1302 me.sa6.sin6_addr = in6addr_any; in main()
1303 me.sa6.sin6_port = htons(port); in main()
1304 rc = bind(sock, &me.sa, sizeof(me.sa6)); in main()
/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/libnl/lib/
Daddr.c645 struct sockaddr_in6 *sa6 = (struct sockaddr_in6 *) sa; in nl_addr_fill_sockaddr() local
647 if (*salen < sizeof(*sa6)) in nl_addr_fill_sockaddr()
650 sa6->sin6_family = addr->a_family; in nl_addr_fill_sockaddr()
651 memcpy(&sa6->sin6_addr, addr->a_addr, 16); in nl_addr_fill_sockaddr()
652 *salen = sizeof(*sa6); in nl_addr_fill_sockaddr()
/external/curl/lib/
Dif2ip.c71 const struct sockaddr_in6 * sa6 = (const struct sockaddr_in6 *) sa; in Curl_ipv6_scope()
72 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.c1348 struct sockaddr_in6 * const sa6 = (void *)&addr->sa_addr; in Curl_socket() local
1349 sa6->sin6_scope_id = conn->scope_id; in Curl_socket()
Dftp.c983 struct sockaddr_in6 * const sa6 = (void *)sa; in ftp_state_use_port() local
1039 if(Curl_inet_pton(AF_INET6, string_ftpport, sa6) == 1) { in ftp_state_use_port()
1110 Curl_inet_ntop(sa->sa_family, &sa6->sin6_addr, hbuf, sizeof(hbuf)); in ftp_state_use_port()
1170 sa6->sin6_port = htons(port); in ftp_state_use_port()
1262 port = ntohs(sa6->sin6_port); in ftp_state_use_port()
/external/strace/
Dnet.c141 struct sockaddr_in6 sa6; member
191 inet_ntop(AF_INET6, &addr->sa6.sin6_addr, in print_sockaddr()
195 ntohs(addr->sa6.sin6_port), string_addr, in print_sockaddr()
196 addr->sa6.sin6_flowinfo); in print_sockaddr()
200 if (IN6_IS_ADDR_LINKLOCAL(&addr->sa6.sin6_addr) in print_sockaddr()
201 || IN6_IS_ADDR_MC_LINKLOCAL(&addr->sa6.sin6_addr)) in print_sockaddr()
202 print_ifindex(addr->sa6.sin6_scope_id); in print_sockaddr()
205 tprintf("%u", addr->sa6.sin6_scope_id); in print_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/avahi/avahi-core/
Dsocket.c145 struct sockaddr_in6 sa6; in avahi_mdns_mcast_join_ipv6() local
152 mdns_mcast_group_ipv6 (&sa6); in avahi_mdns_mcast_join_ipv6()
153 mreq6.ipv6mr_multiaddr = sa6.sin6_addr; in avahi_mdns_mcast_join_ipv6()
/external/llvm/lib/Target/Mips/
DMips16InstrFormats.td562 bits<6> sa6;
569 let Inst{26-22} = sa6{4-0};
570 let Inst{21} = sa6{5};