Home
last modified time | relevance | path

Searched refs:ipv6_addr (Results 1 – 8 of 8) sorted by relevance

/external/grpc-grpc/third_party/address_sorting/
Daddress_sorting.c155 struct sockaddr_in6* ipv6_addr = (struct sockaddr_in6*)&resolved_addr->addr; in get_label_value() local
156 if (in6_is_addr_loopback(&ipv6_addr->sin6_addr)) { in get_label_value()
158 } else if (in6_is_addr_v4mapped(&ipv6_addr->sin6_addr)) { in get_label_value()
160 } else if (in6_is_addr_6to4(&ipv6_addr->sin6_addr)) { in get_label_value()
162 } else if (in6_is_addr_teredo(&ipv6_addr->sin6_addr)) { in get_label_value()
164 } else if (in6_is_addr_ula(&ipv6_addr->sin6_addr)) { in get_label_value()
166 } else if (in6_is_addr_v4compat(&ipv6_addr->sin6_addr)) { in get_label_value()
168 } else if (in6_is_addr_sitelocal(&ipv6_addr->sin6_addr)) { in get_label_value()
170 } else if (in6_is_addr_6bone(&ipv6_addr->sin6_addr)) { in get_label_value()
184 struct sockaddr_in6* ipv6_addr = (struct sockaddr_in6*)&resolved_addr->addr; in get_precedence_value() local
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/address_sorting/
Daddress_sorting.c155 struct sockaddr_in6* ipv6_addr = (struct sockaddr_in6*)&resolved_addr->addr; in get_label_value() local
156 if (in6_is_addr_loopback(&ipv6_addr->sin6_addr)) { in get_label_value()
158 } else if (in6_is_addr_v4mapped(&ipv6_addr->sin6_addr)) { in get_label_value()
160 } else if (in6_is_addr_6to4(&ipv6_addr->sin6_addr)) { in get_label_value()
162 } else if (in6_is_addr_teredo(&ipv6_addr->sin6_addr)) { in get_label_value()
164 } else if (in6_is_addr_ula(&ipv6_addr->sin6_addr)) { in get_label_value()
166 } else if (in6_is_addr_v4compat(&ipv6_addr->sin6_addr)) { in get_label_value()
168 } else if (in6_is_addr_sitelocal(&ipv6_addr->sin6_addr)) { in get_label_value()
170 } else if (in6_is_addr_6bone(&ipv6_addr->sin6_addr)) { in get_label_value()
184 struct sockaddr_in6* ipv6_addr = (struct sockaddr_in6*)&resolved_addr->addr; in get_precedence_value() local
[all …]
/external/toybox/toys/net/
Difconfig.c200 char ipv6_addr[40]; in display_ifconfig() local
203 ipv6_addr, &plen, &iscope, iface_name); in display_ifconfig()
209 char *ptr = ipv6_addr+sizeof(ipv6_addr)-1; in display_ifconfig()
214 if ((*(ptr--) = ipv6_addr[i])) if (!(i&3)) *(ptr--) = ':'; in display_ifconfig()
217 if (inet_pton(AF_INET6, ipv6_addr, (void *)&s6.sin6_addr) > 0) { in display_ifconfig()
/external/selinux/checkpolicy/
Dpolicy_parse.y727 ibpkey_context_def : IBPKEYCON ipv6_addr number security_context_def
729 | IBPKEYCON ipv6_addr number '-' number security_context_def
758 | NODECON ipv6_addr ipv6_addr security_context_def
899 ipv6_addr : IPV6_ADDR
/external/toybox/toys/pending/
Ddhcpd.c226 uint8_t ipv6_addr[16]; member
366 char ipv6_addr[40] = {0,}; in get_interface() local
385 if (sscanf(toybuf, "%32s \n", ipv6_addr) == 1) in get_interface()
391 char *ptr = ipv6_addr+sizeof(ipv6_addr)-1; in get_interface()
396 if ((*(ptr--) = ipv6_addr[i])) if (!(i&3)) *(ptr--) = ':'; in get_interface()
398 dbg("ipv6 %s\n", ipv6_addr); in get_interface()
399 if(inet_pton(AF_INET6, ipv6_addr, &ip6.sin6_addr) <= 0) in get_interface()
1784 memcpy(&(*ia_addr_p).ipv6_addr, in dhcpd_main()
1791 if(memcmp((*ia_addr_p).ipv6_addr, (uint8_t[16]){0}, sizeof(uint32_t)*4)) { in dhcpd_main()
1910 if(verifyip6_in_lease((*ia_addr_p).ipv6_addr, client_duid, in dhcpd_main()
/external/webrtc/rtc_base/
Dnetwork_unittest.cc147 struct sockaddr_in6* ipv6_addr = in CreateIpv6Addr() local
149 memset(ipv6_addr, 0, sizeof(struct sockaddr_in6)); in CreateIpv6Addr()
150 ipv6_addr->sin6_family = AF_INET6; in CreateIpv6Addr()
151 ipv6_addr->sin6_scope_id = scope_id; in CreateIpv6Addr()
154 ipv6_addr->sin6_addr = ip.ipv6_address(); in CreateIpv6Addr()
155 return ipv6_addr; in CreateIpv6Addr()
/external/perfetto/src/trace_processor/rpc/
Dhttpd.cc406 std::string ipv6_addr = "[::1]:" + port; in RunHttpRPCServer() local
407 srv.Run(ipv4_addr.c_str(), ipv6_addr.c_str()); in RunHttpRPCServer()
/external/linux-kselftest/tools/testing/selftests/netfilter/
Dnft_nat.sh774 type ipv6_addr : counter
790 type ipv6_addr : counter