/external/openscreen/platform/impl/ |
D | socket_address_posix_unittest.cc | 41 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/ |
D | ares_getnameinfo.c | 361 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()
|
D | ares_ipv6.h | 31 unsigned int sin6_scope_id; member
|
/external/strace/tests-m32/ |
D | net-sockaddr.c | 175 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/ |
D | net-sockaddr.c | 175 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/ |
D | net-sockaddr.c | 175 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/ |
D | sockaddr_utils.cc | 162 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/ |
D | sockaddr_utils.cc | 168 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()
|
D | parse_address.cc | 228 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/ |
D | parse_address.cc | 156 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/ |
D | sockmisc.c | 121 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 …]
|
D | grabmyaddr.c | 204 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/ |
D | ping6.c | 885 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/ |
D | test_skb_cgroup_id_user.c | 40 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/ |
D | endpoint.ipp | 61 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/ |
D | net.rs | 117 sin6_scope_id: addr.scope_id(), in socket_addr() 164 addr.sin6_scope_id, in to_socket_addr()
|
/external/libwebsockets/include/libwebsockets/ |
D | lws-optee.h | 74 uint32_t sin6_scope_id; /* scope zone index */ member
|
/external/rust/crates/libc/src/unix/newlib/aarch64/ |
D | mod.rs | 21 pub sin6_scope_id: u32,
|
/external/rust/crates/libc/src/unix/newlib/arm/ |
D | mod.rs | 19 pub sin6_scope_id: u32,
|
/external/libchromeos-rs/src/ |
D | net.rs | 60 sin6_scope_id: 0, in sockaddrv6_to_lib_c() 222 sin6_scope_id: 0, in local_port()
|
/external/strace/ |
D | sockaddr.c | 171 #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/ |
D | fake-rfc2553.h | 78 u_int32_t sin6_scope_id; member
|
/external/rust/crates/libc/src/unix/newlib/xtensa/ |
D | mod.rs | 42 pub sin6_scope_id: u32,
|
/external/grpc-grpc/test/core/client_channel/ |
D | parse_address_test.cc | 89 GPR_ASSERT(addr_in6->sin6_scope_id == scope_id); in test_grpc_parse_ipv6()
|
/external/webrtc/rtc_base/ |
D | socket_address.cc | 286 saddr->sin6_scope_id = scope_id; in ToSockAddrStorageHelper() 319 out->SetScopeID(saddr->sin6_scope_id); in SocketAddressFromSockAddrStorage()
|