/external/c-ares/ |
D | ares_process.c | 439 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/ |
D | sockfilt.c | 1229 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 …]
|
D | tftpd.c | 647 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()
|
D | server_sockaddr.h | 34 struct sockaddr_in6 sa6; member
|
D | sws.c | 1341 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()
|
D | rtspd.c | 1300 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/ |
D | s_erf.c | 169 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/ |
D | addr.c | 645 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/ |
D | if2ip.c | 71 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()
|
D | hostip.c | 171 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()
|
D | connect.c | 1348 struct sockaddr_in6 * const sa6 = (void *)&addr->sa_addr; in Curl_socket() local 1349 sa6->sin6_scope_id = conn->scope_id; in Curl_socket()
|
D | ftp.c | 983 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/ |
D | net.c | 141 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/ |
D | dnssd_clientstub.c | 1267 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()
|
D | DebugServices.c | 2871 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/ |
D | socket.c | 145 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/ |
D | Mips16InstrFormats.td | 562 bits<6> sa6; 569 let Inst{26-22} = sa6{4-0}; 570 let Inst{21} = sa6{5};
|