/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 | 1250 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 …]
|
D | tftpd.c | 651 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()
|
D | server_sockaddr.h | 34 struct sockaddr_in6 sa6; member
|
D | sws.c | 1346 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()
|
D | rtspd.c | 1311 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/ |
D | port-aix.c | 411 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/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 | 70 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()
|
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 | 1362 struct sockaddr_in6 * const sa6 = (void *)&addr->sa_addr; in Curl_socket() local 1363 sa6->sin6_scope_id = conn->scope_id; in Curl_socket()
|
D | ftp.c | 994 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/openssh/ |
D | loginrec.c | 647 struct sockaddr_in6 *sa6; in construct_utmp() local 707 sa6 = ((struct sockaddr_in6 *)&li->hostaddr.sa); in construct_utmp() 708 memcpy(ut->ut_addr_v6, sa6->sin6_addr.s6_addr, 16); in construct_utmp() 709 if (IN6_IS_ADDR_V4MAPPED(&sa6->sin6_addr)) { in construct_utmp() 744 struct sockaddr_in6 *sa6; in construct_utmpx() local 789 sa6 = ((struct sockaddr_in6 *)&li->hostaddr.sa); in construct_utmpx() 790 memcpy(utx->ut_addr_v6, sa6->sin6_addr.s6_addr, 16); in construct_utmpx() 791 if (IN6_IS_ADDR_V4MAPPED(&sa6->sin6_addr)) { in construct_utmpx()
|
/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};
|