/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/ |
D | ares_process.c | 472 struct sockaddr_in6 sa6; in read_udp_packets() member 515 fromlen = sizeof(from.sa6); in read_udp_packets() 980 struct sockaddr_in6 sa6; in configure_socket() member 1030 memset(&local.sa6, 0, sizeof(local.sa6)); in configure_socket() 1031 local.sa6.sin6_family = AF_INET6; in configure_socket() 1032 memcpy(&local.sa6.sin6_addr, channel->local_ip6, in configure_socket() 1034 if (bind(s, &local.sa, sizeof(local.sa6)) < 0) in configure_socket() 1073 struct sockaddr_in6 sa6; in open_tcp_socket() member 1093 sa = (void *)&saddr.sa6; in open_tcp_socket() 1094 salen = sizeof(saddr.sa6); in open_tcp_socket() [all …]
|
/external/curl/tests/server/ |
D | sockfilt.c | 1231 memset(&listener.sa6, 0, sizeof(listener.sa6)); in sockdaemon() 1232 listener.sa6.sin6_family = AF_INET6; in sockdaemon() 1233 listener.sa6.sin6_addr = in6addr_any; in sockdaemon() 1234 listener.sa6.sin6_port = htons(*listenport); in sockdaemon() 1235 rc = bind(sock, &listener.sa, sizeof(listener.sa6)); in sockdaemon() 1257 la_size = sizeof(localaddr.sa6); in sockdaemon() 1273 *listenport = ntohs(localaddr.sa6.sin6_port); in sockdaemon() 1470 memset(&me.sa6, 0, sizeof(me.sa6)); in main() 1471 me.sa6.sin6_family = AF_INET6; in main() 1472 me.sa6.sin6_port = htons(connectport); in main() [all …]
|
D | tftpd.c | 536 fromaddrlen = sizeof(fromaddr.sa6); in synchnet() 680 memset(&me.sa6, 0, sizeof(me.sa6)); in main() 681 me.sa6.sin6_family = AF_INET6; in main() 682 me.sa6.sin6_addr = in6addr_any; in main() 683 me.sa6.sin6_port = htons(port); in main() 684 rc = bind(sock, &me.sa, sizeof(me.sa6)); in main() 706 la_size = sizeof(localaddr.sa6); in main() 722 port = ntohs(localaddr.sa6.sin6_port); in main() 763 fromlen = sizeof(from.sa6); in main() 796 from.sa6.sin6_family = AF_INET6; in main() [all …]
|
D | mqttd.c | 781 memset(&listener.sa6, 0, sizeof(listener.sa6)); in sockdaemon() 782 listener.sa6.sin6_family = AF_INET6; in sockdaemon() 783 listener.sa6.sin6_addr = in6addr_any; in sockdaemon() 784 listener.sa6.sin6_port = htons(*listenport); in sockdaemon() 785 rc = bind(sock, &listener.sa, sizeof(listener.sa6)); in sockdaemon() 807 la_size = sizeof(localaddr.sa6); in sockdaemon() 823 *listenport = ntohs(localaddr.sa6.sin6_port); in sockdaemon()
|
D | socksd.c | 807 memset(&listener.sa6, 0, sizeof(listener.sa6)); in sockdaemon() 808 listener.sa6.sin6_family = AF_INET6; in sockdaemon() 809 listener.sa6.sin6_addr = in6addr_any; in sockdaemon() 810 listener.sa6.sin6_port = htons(*listenport); in sockdaemon() 811 rc = bind(sock, &listener.sa, sizeof(listener.sa6)); in sockdaemon() 833 la_size = sizeof(localaddr.sa6); in sockdaemon() 849 *listenport = ntohs(localaddr.sa6.sin6_port); in sockdaemon()
|
D | rtspd.c | 1178 memset(&me.sa6, 0, sizeof(me.sa6)); in main() 1179 me.sa6.sin6_family = AF_INET6; in main() 1180 me.sa6.sin6_addr = in6addr_any; in main() 1181 me.sa6.sin6_port = htons(port); in main() 1182 rc = bind(sock, &me.sa, sizeof(me.sa6)); in main() 1203 la_size = sizeof(localaddr.sa6); in main() 1219 port = ntohs(localaddr.sa6.sin6_port); in main()
|
D | sws.c | 1266 memset(&serveraddr.sa6, 0, sizeof(serveraddr.sa6)); in connect_to() 1267 serveraddr.sa6.sin6_family = AF_INET6; in connect_to() 1268 serveraddr.sa6.sin6_port = htons(port); in connect_to() 1269 if(Curl_inet_pton(AF_INET6, ipaddr, &serveraddr.sa6.sin6_addr) < 1) { in connect_to() 1275 rc = connect(serverfd, &serveraddr.sa, sizeof(serveraddr.sa6)); in connect_to() 2056 memset(&me.sa6, 0, sizeof(me.sa6)); in main() 2057 me.sa6.sin6_family = AF_INET6; in main() 2058 me.sa6.sin6_addr = in6addr_any; in main() 2059 me.sa6.sin6_port = htons(port); in main() 2060 rc = bind(sock, &me.sa, sizeof(me.sa6)); in main() [all …]
|
D | server_sockaddr.h | 34 struct sockaddr_in6 sa6; member
|
/external/openssh/openbsd-compat/ |
D | port-aix.c | 422 struct sockaddr_in6 *sa6; in sshaix_getnameinfo() local 427 sa6 = (struct sockaddr_in6 *)sa; in sshaix_getnameinfo() 428 a6 = sa6->sin6_addr.u6_addr.u6_addr32; in sshaix_getnameinfo() 432 snprintf(serv, servlen, "%d", sa6->sin6_port); in sshaix_getnameinfo()
|
/external/mdnsresponder/mDNSWindows/ |
D | mDNSWin32.c | 278 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/arm-trusted-firmware/tools/renesas/rzg_layout_create/ |
D | makefile | 20 OBJ_FILE_SA6 = sa6.o 24 MEMORY_DEF_SA6 = sa6.ld.S
|
/external/arm-trusted-firmware/tools/renesas/rcar_layout_create/ |
D | makefile | 20 OBJ_FILE_SA6 = sa6.o 24 MEMORY_DEF_SA6 = sa6.ld.S
|
/external/libwebsockets/lib/roles/http/client/ |
D | client-handshake.c | 521 memset((char *)&sa46.sa6.sin6_addr, 0, 522 sizeof(sa46.sa6.sin6_addr)); 523 sa46.sa6.sin6_addr.s6_addr[10] = 0xff; 524 sa46.sa6.sin6_addr.s6_addr[11] = 0xff; 525 memcpy(&sa46.sa6.sin6_addr.s6_addr[12], 529 sa46.sa6.sin6_port = htons(port); 531 lws_write_numeric_address(sa46.sa6.sin6_addr.s6_addr, 553 memcpy(&sa46.sa6.sin6_addr, 556 sa46.sa6.sin6_scope_id = ((struct sockaddr_in6 *) 558 sa46.sa6.sin6_flowinfo = ((struct sockaddr_in6 *) [all …]
|
/external/libnl/lib/ |
D | addr.c | 760 struct sockaddr_in6 *sa6 = (struct sockaddr_in6 *) sa; in nl_addr_fill_sockaddr() local 762 if (*salen < sizeof(*sa6)) in nl_addr_fill_sockaddr() 766 memcpy(&sa6->sin6_addr, addr->a_addr, 16); in nl_addr_fill_sockaddr() 770 memset(&sa6->sin6_addr, 0, 16); in nl_addr_fill_sockaddr() 772 sa6->sin6_family = addr->a_family; in nl_addr_fill_sockaddr() 773 *salen = sizeof(*sa6); in nl_addr_fill_sockaddr()
|
/external/libwebsockets/lib/core-net/ |
D | network.c | 717 sa46->sa6.sin6_family = AF_INET6; in lws_sa46_parse_numeric_address() 718 memcpy(sa46->sa6.sin6_addr.s6_addr, a, in lws_sa46_parse_numeric_address() 719 sizeof(sa46->sa6.sin6_addr.s6_addr)); in lws_sa46_parse_numeric_address() 810 (uint8_t *)&sa46->sa6.sin6_addr, 16, buf, len); in lws_sa46_write_numeric_address() 827 return memcmp(&sa46a->sa6.sin6_addr, &sa46b->sa6.sin6_addr, 16); in lws_sa46_compare_ads()
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_sock_fields.c | 75 static void init_loopback6(struct sockaddr_in6 *sa6) in init_loopback6() argument 77 memset(sa6, 0, sizeof(*sa6)); in init_loopback6() 78 sa6->sin6_family = AF_INET6; in init_loopback6() 79 sa6->sin6_addr = in6addr_loopback; in init_loopback6()
|
/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/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()
|
/external/openssh/ |
D | loginrec.c | 653 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()
|
D | sshconnect.c | 308 struct sockaddr_in6 *sa6; in check_ifaddrs() local 340 sa6 = (struct sockaddr_in6 *)ifa->ifa_addr; in check_ifaddrs() 341 v6addr = &sa6->sin6_addr; in check_ifaddrs() 352 memcpy(resultp, sa6, *rlenp); in check_ifaddrs()
|
/external/libwebsockets/lib/system/async-dns/ |
D | async-dns.c | 642 ai->ai_family = sa46->sa6.sin6_family = AF_INET6; in lws_async_dns_query() 643 ai->ai_addrlen = sizeof(sa46->sa6); in lws_async_dns_query() 644 ai->ai_addr = (struct sockaddr *)&sa46->sa6; in lws_async_dns_query() 645 memcpy(&sa46->sa6.sin6_addr, ads, m); in lws_async_dns_query()
|
/external/libwebsockets/include/libwebsockets/ |
D | lws-network-helper.h | 34 struct sockaddr_in6 sa6; member
|
/external/mdnsresponder/mDNSShared/ |
D | dnssd_clientstub.c | 1274 struct sockaddr_in6 sa6; in handle_addrinfo_response() local 1275 …ckaddr *const sa = (rrtype == kDNSServiceType_A) ? (struct sockaddr*)&sa4 : (struct sockaddr*)&sa6; in handle_addrinfo_response() 1288 memset(&sa6, 0, sizeof(sa6)); in handle_addrinfo_response() 1290 sa6.sin6_len = sizeof(struct sockaddr_in6); in handle_addrinfo_response() 1292 sa6.sin6_family = AF_INET6; in handle_addrinfo_response() 1298 memcpy(&sa6.sin6_addr, rdata, rdlen); in handle_addrinfo_response() 1299 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/usrsctp/usrsctplib/ |
D | user_recv_thread.c | 196 struct sockaddr_in6 *sa6; 242 sa6 = (struct sockaddr_in6 *)malloc(sizeof(struct sockaddr_in6)); 243 sa6->sin6_family = rtmsg->ifa_family; 244 sa6->sin6_port = 0; 245 memcpy(&sa6->sin6_addr, inp, sizeof(struct in6_addr)); 246 sctp_handle_ifamsg(nh->nlmsg_type, rtmsg->ifa_index, (struct sockaddr *)sa6);
|