Home
last modified time | relevance | path

Searched refs:sin6_scope_id (Results 1 – 25 of 104) sorted by relevance

12345

/external/openscreen/platform/impl/
Dsocket_address_posix_unittest.cc41 EXPECT_EQ(v6_address->sin6_scope_id, 0u); in TEST()
72 address.sin6_scope_id = 0u; in TEST()
83 EXPECT_EQ(v6_address->sin6_scope_id, address.sin6_scope_id); in TEST()
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/
Dares_getnameinfo.c361 int is_scope_long = sizeof(addr6->sin6_scope_id) > sizeof(unsigned int); in append_scopeid()
373 sprintf(&tmpbuf[1], "%lu", (unsigned long)addr6->sin6_scope_id); in append_scopeid()
377 sprintf(&tmpbuf[1], "%u", (unsigned int)addr6->sin6_scope_id); in append_scopeid()
382 if (if_indextoname(addr6->sin6_scope_id, &tmpbuf[1]) == NULL) in append_scopeid()
386 sprintf(&tmpbuf[1], "%lu", (unsigned long)addr6->sin6_scope_id); in append_scopeid()
390 sprintf(&tmpbuf[1], "%u", (unsigned int)addr6->sin6_scope_id); in append_scopeid()
397 sprintf(&tmpbuf[1], "%lu", (unsigned long)addr6->sin6_scope_id); in append_scopeid()
401 sprintf(&tmpbuf[1], "%u", (unsigned int)addr6->sin6_scope_id); in append_scopeid()
Dares_ipv6.h31 unsigned int sin6_scope_id; member
/external/strace/tests-m32/
Dnet-sockaddr.c175 in6->sin6_scope_id = 0xfacefeed; in check_in6_linklocal()
184 ntohl(in6->sin6_flowinfo), in6->sin6_scope_id, len, ret); in check_in6_linklocal()
186 in6->sin6_scope_id = ifindex_lo(); in check_in6_linklocal()
187 if (in6->sin6_scope_id) { in check_in6_linklocal()
211 in6->sin6_scope_id = 0xfacefeed; in check_in6()
218 h_port, h_addr, h_flowinfo, in6->sin6_scope_id, len, ret); in check_in6()
228 in6->sin6_scope_id = 0xfacefeed; in check_in6()
235 h_port, h_addr, h_flowinfo, in6->sin6_scope_id, len, ret); in check_in6()
237 in6 = ((void *) in6) + 4 + sizeof(in6->sin6_scope_id); in check_in6()
242 len = sizeof(*in6) - sizeof(in6->sin6_scope_id); in check_in6()
[all …]
/external/strace/tests-mx32/
Dnet-sockaddr.c175 in6->sin6_scope_id = 0xfacefeed; in check_in6_linklocal()
184 ntohl(in6->sin6_flowinfo), in6->sin6_scope_id, len, ret); in check_in6_linklocal()
186 in6->sin6_scope_id = ifindex_lo(); in check_in6_linklocal()
187 if (in6->sin6_scope_id) { in check_in6_linklocal()
211 in6->sin6_scope_id = 0xfacefeed; in check_in6()
218 h_port, h_addr, h_flowinfo, in6->sin6_scope_id, len, ret); in check_in6()
228 in6->sin6_scope_id = 0xfacefeed; in check_in6()
235 h_port, h_addr, h_flowinfo, in6->sin6_scope_id, len, ret); in check_in6()
237 in6 = ((void *) in6) + 4 + sizeof(in6->sin6_scope_id); in check_in6()
242 len = sizeof(*in6) - sizeof(in6->sin6_scope_id); in check_in6()
[all …]
/external/strace/tests/
Dnet-sockaddr.c175 in6->sin6_scope_id = 0xfacefeed; in check_in6_linklocal()
184 ntohl(in6->sin6_flowinfo), in6->sin6_scope_id, len, ret); in check_in6_linklocal()
186 in6->sin6_scope_id = ifindex_lo(); in check_in6_linklocal()
187 if (in6->sin6_scope_id) { in check_in6_linklocal()
211 in6->sin6_scope_id = 0xfacefeed; in check_in6()
218 h_port, h_addr, h_flowinfo, in6->sin6_scope_id, len, ret); in check_in6()
228 in6->sin6_scope_id = 0xfacefeed; in check_in6()
235 h_port, h_addr, h_flowinfo, in6->sin6_scope_id, len, ret); in check_in6()
237 in6 = ((void *) in6) + 4 + sizeof(in6->sin6_scope_id); in check_in6()
242 len = sizeof(*in6) - sizeof(in6->sin6_scope_id); in check_in6()
[all …]
/external/grpc-grpc/src/core/lib/iomgr/
Dsockaddr_utils.cc162 uint32_t sin6_scope_id = 0; in grpc_sockaddr_to_string() local
180 sin6_scope_id = addr6->sin6_scope_id; in grpc_sockaddr_to_string()
184 if (sin6_scope_id != 0) { in grpc_sockaddr_to_string()
187 gpr_asprintf(&host_with_scope, "%s%%25%" PRIu32, ntop_buf, sin6_scope_id); in grpc_sockaddr_to_string()
208 addr6->sin6_scope_id = 0; in grpc_string_to_sockaddr()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dsockaddr_utils.cc168 uint32_t sin6_scope_id = 0; in grpc_sockaddr_to_string() local
179 sin6_scope_id = addr6->sin6_scope_id; in grpc_sockaddr_to_string()
185 if (sin6_scope_id != 0) { in grpc_sockaddr_to_string()
188 absl::StrFormat("%s%%25%" PRIu32, ntop_buf, sin6_scope_id); in grpc_sockaddr_to_string()
Dparse_address.cc228 uint32_t sin6_scope_id = 0; in grpc_parse_ipv6_hostport() local
250 &sin6_scope_id) == 0) { in grpc_parse_ipv6_hostport()
251 if ((sin6_scope_id = grpc_if_nametoindex(host_end + 1)) == 0) { in grpc_parse_ipv6_hostport()
260 in6->sin6_scope_id = sin6_scope_id; in grpc_parse_ipv6_hostport()
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dparse_address.cc156 uint32_t sin6_scope_id = 0; in grpc_parse_ipv6_hostport() local
178 &sin6_scope_id) == 0) { in grpc_parse_ipv6_hostport()
185 in6->sin6_scope_id = sin6_scope_id; in grpc_parse_ipv6_hostport()
/external/ipsec-tools/src/racoon/
Dsockmisc.c121 if (((struct sockaddr_in6 *)addr1)->sin6_scope_id !=
122 ((struct sockaddr_in6 *)addr2)->sin6_scope_id)
187 if (((struct sockaddr_in6 *)addr1)->sin6_scope_id !=
188 ((struct sockaddr_in6 *)addr2)->sin6_scope_id)
248 if (((struct sockaddr_in6 *)addr1)->sin6_scope_id !=
249 ((struct sockaddr_in6 *)addr2)->sin6_scope_id)
460 sin6->sin6_scope_id = pi->ipi6_ifindex;
462 sin6->sin6_scope_id = 0;
586 ifindex = src6.sin6_scope_id; /*???*/
617 src6.sin6_scope_id);
[all …]
Dgrabmyaddr.c204 sin->sin6_scope_id = I->ifa_ifindex; in recvaddrs()
391 sin6->sin6_scope_id = in grab_myaddrs()
402 sin6->sin6_scope_id = in grab_myaddrs()
527 sin6->sin6_scope_id = in grab_myaddrs()
/external/iputils/
Dping6.c885 firsthop.sin6_scope_id = ((struct sockaddr_in6 *)(ai->ai_addr))->sin6_scope_id; in main()
887 if (firsthop.sin6_scope_id && scope_id && firsthop.sin6_scope_id != scope_id) { in main()
891 scope_id = firsthop.sin6_scope_id; in main()
947 firsthop.sin6_scope_id = whereto.sin6_scope_id; in main()
949 if (firsthop.sin6_scope_id && scope_id && firsthop.sin6_scope_id != scope_id) { in main()
953 scope_id = firsthop.sin6_scope_id; in main()
982 firsthop.sin6_scope_id = iface; in main()
1038 source.sin6_scope_id = if_name2index(device); in main()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_skb_cgroup_id_user.c40 dst->sin6_scope_id = if_nametoindex(iface); in mk_dst_addr()
41 if (!dst->sin6_scope_id) { in mk_dst_addr()
/external/parameter-framework/asio-1.10.6/include/asio/ip/detail/impl/
Dendpoint.ipp61 data_.v6.sin6_scope_id = 0;
89 data_.v6.sin6_scope_id =
145 return asio::ip::address_v6(bytes, data_.v6.sin6_scope_id);
/external/rust/crates/mio/src/sys/unix/
Dnet.rs117 sin6_scope_id: addr.scope_id(), in socket_addr()
164 addr.sin6_scope_id, in to_socket_addr()
/external/libwebsockets/include/libwebsockets/
Dlws-optee.h74 uint32_t sin6_scope_id; /* scope zone index */ member
/external/rust/crates/libc/src/unix/newlib/aarch64/
Dmod.rs21 pub sin6_scope_id: u32,
/external/rust/crates/libc/src/unix/newlib/arm/
Dmod.rs19 pub sin6_scope_id: u32,
/external/libchromeos-rs/src/
Dnet.rs60 sin6_scope_id: 0, in sockaddrv6_to_lib_c()
222 sin6_scope_id: 0, in local_port()
/external/strace/
Dsockaddr.c171 #define SIN6_MIN_LEN offsetof(struct sockaddr_in6, sin6_scope_id)
188 PRINT_FIELD_IFINDEX(", ", *sa_in6, sin6_scope_id); in print_sockaddr_data_in6()
191 PRINT_FIELD_U(", ", *sa_in6, sin6_scope_id); in print_sockaddr_data_in6()
/external/openssh/openbsd-compat/
Dfake-rfc2553.h78 u_int32_t sin6_scope_id; member
/external/rust/crates/libc/src/unix/newlib/xtensa/
Dmod.rs42 pub sin6_scope_id: u32,
/external/grpc-grpc/test/core/client_channel/
Dparse_address_test.cc89 GPR_ASSERT(addr_in6->sin6_scope_id == scope_id); in test_grpc_parse_ipv6()
/external/webrtc/rtc_base/
Dsocket_address.cc286 saddr->sin6_scope_id = scope_id; in ToSockAddrStorageHelper()
319 out->SetScopeID(saddr->sin6_scope_id); in SocketAddressFromSockAddrStorage()

12345