Home
last modified time | relevance | path

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

12

/third_party/libwebsockets/lib/core-net/client/
Dsort-dns.c162 return lws_ipv6_unicast_scope(&sa46->sa6); in lws_sort_dns_scope()
177 s.sa6.sin6_family = AF_INET6; in lws_sort_dns_classify()
178 lws_4to6((uint8_t *)s.sa6.sin6_addr.s6_addr, in lws_sort_dns_classify()
186 po = (uint8_t *)&sa46->sa6.sin6_addr.s6_addr; in lws_sort_dns_classify()
233 const struct sockaddr_in6 *sa6 = to_v6_sa(&sa->dest), in lws_sort_dns_scomp() local
240 sa6 = to_v6_sa(&sa->gateway); in lws_sort_dns_scomp()
248 assert(sa6->sin6_family == AF_INET6); in lws_sort_dns_scomp()
256 if (!memcmp(&sa6->sin6_addr, &dst->sin6_addr, 16)) in lws_sort_dns_scomp()
270 scopea = lws_sort_dns_scope(to_sa46_sa(sa6)); in lws_sort_dns_scomp()
339 lws_sort_dns_classify(to_sa46_sa(sa6), &scorea); in lws_sort_dns_scomp()
[all …]
/third_party/pulseaudio/src/tests/
Dipacl-test.c44 struct sockaddr_in6 sa6; in START_TEST() local
76 memset(&sa6, 0, sizeof(sa6)); in START_TEST()
77 sa6.sin6_family = AF_INET6; in START_TEST()
78 sa6.sin6_port = htons(22); in START_TEST()
79 fail_unless(inet_pton(AF_INET6, "::1", &sa6.sin6_addr) == 1); in START_TEST()
81 r = connect(fd, (struct sockaddr*) &sa6, sizeof(sa6)); in START_TEST()
/third_party/node/deps/cares/src/lib/
Dares_process.c467 struct sockaddr_in6 sa6; in read_udp_packets() member
510 fromlen = sizeof(from.sa6); in read_udp_packets()
974 struct sockaddr_in6 sa6; in configure_socket() member
1024 memset(&local.sa6, 0, sizeof(local.sa6)); in configure_socket()
1025 local.sa6.sin6_family = AF_INET6; in configure_socket()
1026 memcpy(&local.sa6.sin6_addr, channel->local_ip6, in configure_socket()
1028 if (bind(s, &local.sa, sizeof(local.sa6)) < 0) in configure_socket()
1043 struct sockaddr_in6 sa6; in open_tcp_socket() member
1063 sa = (void *)&saddr.sa6; in open_tcp_socket()
1064 salen = sizeof(saddr.sa6); in open_tcp_socket()
[all …]
Dares_ipv6.h39 struct sockaddr_in6 sa6; member
Dares__sortaddrinfo.c363 const struct sockaddr_in6 *a1_src = &a1->src_addr.sa6; in rfc6724_compare()
366 const struct sockaddr_in6 *a2_src = &a2->src_addr.sa6; in rfc6724_compare()
Dares_init.c1105 struct sockaddr_in6 *sa6; in get_DNS_AdaptersAddresses() member
1214 if (memcmp(&namesrvr.sa6->sin6_addr, &ares_in6addr_any, in get_DNS_AdaptersAddresses()
1215 sizeof(namesrvr.sa6->sin6_addr)) == 0) in get_DNS_AdaptersAddresses()
1247 if (! ares_inet_ntop(AF_INET6, &namesrvr.sa6->sin6_addr, in get_DNS_AdaptersAddresses()
/third_party/lwip/src/api/
Dnetdb.c376 struct sockaddr_in6 *sa6 = (struct sockaddr_in6 *)sa; in lwip_getaddrinfo() local
378 inet6_addr_from_ip6addr(&sa6->sin6_addr, ip_2_ip6(&addr)); in lwip_getaddrinfo()
379 sa6->sin6_family = AF_INET6; in lwip_getaddrinfo()
380 sa6->sin6_len = sizeof(struct sockaddr_in6); in lwip_getaddrinfo()
381 sa6->sin6_port = lwip_htons((u16_t)port_nr); in lwip_getaddrinfo()
382 sa6->sin6_scope_id = ip6_addr_zone(ip_2_ip6(&addr)); in lwip_getaddrinfo()
/third_party/libwebsockets/lib/core-net/
Dnetwork.c797 sa46->sa6.sin6_family = AF_INET6; in lws_sa46_parse_numeric_address()
798 memcpy(sa46->sa6.sin6_addr.s6_addr, a, in lws_sa46_parse_numeric_address()
799 sizeof(sa46->sa6.sin6_addr.s6_addr)); in lws_sa46_parse_numeric_address()
890 (uint8_t *)&sa46->sa6.sin6_addr, 16, buf, len); in lws_sa46_write_numeric_address()
920 return memcmp(&sa46a->sa6.sin6_addr, &sa46b->sa6.sin6_addr, 16); in lws_sa46_compare_ads()
948 lws_4to6((uint8_t *)&sa46->sa6.sin6_addr.s6_addr[0], v4addr); in lws_sa46_4to6()
950 sa46->sa6.sin6_port = htons(port); in lws_sa46_4to6()
972 p1 = (uint8_t *)&sa46a->sa6.sin6_addr; in lws_sa46_on_net()
990 p2 = (uint8_t *)&sa46_net->sa6.sin6_addr; in lws_sa46_on_net()
1017 memcpy(&sa46a->sa6.sin6_addr, in, sizeof(sa46a->sa6.sin6_addr)); in lws_sa46_copy_address()
Dadopt.c711 s->dest.sa6.sin6_port = htons(wsi->c_port); in lws_create_adopt_udp2()
/third_party/musl/src/network/
Dlookup_name.c376 struct sockaddr_in6 sa6 = { 0 }, da6 = { in __lookup_name() local
390 sa = &sa6; salen = sizeof sa6; in __lookup_name()
392 memcpy(sa6.sin6_addr.s6_addr, in __lookup_name()
413 sa6.sin6_addr.s6_addr+12, in __lookup_name()
415 if (dscope == scopeof(&sa6.sin6_addr)) in __lookup_name()
417 if (dlabel == labelof(&sa6.sin6_addr)) in __lookup_name()
419 prefixlen = prefixmatch(&sa6.sin6_addr, in __lookup_name()
/third_party/musl/porting/linux/user/src/network/
Dlookup_name.c397 struct sockaddr_in6 sa6 = { 0 }, da6 = { local
411 sa = &sa6; salen = sizeof sa6;
413 memcpy(sa6.sin6_addr.s6_addr,
434 sa6.sin6_addr.s6_addr+12,
436 if (dscope == scopeof(&sa6.sin6_addr))
438 if (dlabel == labelof(&sa6.sin6_addr))
440 prefixlen = prefixmatch(&sa6.sin6_addr,
/third_party/libwebsockets/include/libwebsockets/
Dlws-adopt.h88 struct sockaddr_in6 sa6; member
105 (_sa46)->sa6.sin6_port = (_sp); }
107 &_sa46->sa4.sin_addr : &_sa46->sa6.sin6_addr ))
/third_party/pulseaudio/src/modules/raop/
Draop-client.c699 struct sockaddr_in6 sa6; in connect_udp_socket() local
707 pa_zero(sa6); in connect_udp_socket()
715 } else if (inet_pton(AF_INET6, c->host, &sa6.sin6_addr) > 0) { in connect_udp_socket()
716 sa6.sin6_family = af = AF_INET6; in connect_udp_socket()
717 sa6.sin6_port = htons(port); in connect_udp_socket()
718 sa = (struct sockaddr *) &sa6; in connect_udp_socket()
719 salen = sizeof(sa6); in connect_udp_socket()
755 struct sockaddr_in6 sa6; in open_bind_udp_socket() local
769 pa_zero(sa6); in open_bind_udp_socket()
779 } else if (inet_pton(AF_INET6, pa_rtsp_localip(c->rtsp), &sa6.sin6_addr) > 0) { in open_bind_udp_socket()
[all …]
/third_party/libwebsockets/lib/misc/
Dpeer-limits.c100 q = &sa46.sa6.sin6_addr; in lws_get_or_create_peer()
101 rlen = sizeof(sa46.sa6.sin6_addr); in lws_get_or_create_peer()
125 !memcmp(q, &peerx->sa46.sa6.sin6_addr, rlen)) in lws_get_or_create_peer()
/third_party/pulseaudio/src/modules/rtp/
Dmodule-rtp-recv.c681 struct sockaddr_in6 sa6; in pa__init() local
704 } else if (inet_pton(AF_INET6, sap_address, &sa6.sin6_addr) > 0) { in pa__init()
705 sa6.sin6_family = AF_INET6; in pa__init()
706 sa6.sin6_port = htons(SAP_PORT); in pa__init()
707 sa = (struct sockaddr*) &sa6; in pa__init()
708 salen = sizeof(sa6); in pa__init()
/third_party/musl/porting/liteos_a/kernel/src/math/
Derff.c66 sa6 = 1.0863500214e+02, /* 0x42d9451f */ variable
111 sa5+s*(sa6+s*(sa7+s*sa8))))))); in erfc2()
Derf.c156 sa6 = 1.08635005541779435134e+02, /* 0x405B28A3, 0xEE48AE2C */ variable
201 sa5+s*(sa6+s*(sa7+s*sa8))))))); in erfc2()
/third_party/musl/src/math/
Derf.c156 sa6 = 1.08635005541779435134e+02, /* 0x405B28A3, 0xEE48AE2C */ variable
201 sa5+s*(sa6+s*(sa7+s*sa8))))))); in erfc2()
Derff.c66 sa6 = 1.0863500214e+02, /* 0x42d9451f */ variable
111 sa5+s*(sa6+s*(sa7+s*sa8))))))); in erfc2()
/third_party/libwebsockets/lib/system/async-dns/
Dasync-dns.c785 ai->ai_family = sa46->sa6.sin6_family = AF_INET6; in lws_async_dns_query()
786 ai->ai_addrlen = sizeof(sa46->sa6); in lws_async_dns_query()
787 ai->ai_addr = (struct sockaddr *)&sa46->sa6; in lws_async_dns_query()
788 memcpy(&sa46->sa6.sin6_addr, ads, (unsigned int)m); in lws_async_dns_query()
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/
Duser_recv_thread.c199 struct sockaddr_in6 *sa6;
245 sa6 = (struct sockaddr_in6 *)malloc(sizeof(struct sockaddr_in6));
246 sa6->sin6_family = rtmsg->ifa_family;
247 sa6->sin6_port = 0;
248 memcpy(&sa6->sin6_addr, inp, sizeof(struct in6_addr));
249 sctp_handle_ifamsg(nh->nlmsg_type, rtmsg->ifa_index, (struct sockaddr *)sa6);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMips16InstrFormats.td561 bits<6> sa6;
568 let Inst{26-22} = sa6{4-0};
569 let Inst{21} = sa6{5};
/third_party/rust/crates/nix/src/sys/socket/
Daddr.rs1875 net::SocketAddr::V6(sa6) => Self::from(sa6), in from()
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_output.c5722 struct sockaddr_in6 sin6, *sa6; local
5791 sa6 = (struct sockaddr_in6 *)sa;
5793 if (SCTP6_ARE_ADDR_EQUAL(sa6, src6)) {
5893 sa6 = (struct sockaddr_in6 *)sa;
5895 sa6, &sin6)) {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/Mips/
DMipsGenMCCodeEmitter.inc8204 // op: sa6

12