Home
last modified time | relevance | path

Searched refs:GRPC_AF_INET6 (Results 1 – 17 of 17) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dsockaddr_utils.cc53 if (addr->sa_family == GRPC_AF_INET6) { in grpc_sockaddr_is_v4mapped()
85 addr6_out->sin6_family = GRPC_AF_INET6; in grpc_sockaddr_to_v4mapped()
112 } else if (addr->sa_family == GRPC_AF_INET6) { in grpc_sockaddr_is_wildcard()
152 wild_out->sin6_family = GRPC_AF_INET6; in grpc_sockaddr_make_wildcard6()
174 } else if (addr->sa_family == GRPC_AF_INET6) { in grpc_sockaddr_to_string()
206 if (grpc_inet_pton(GRPC_AF_INET6, addr, &addr6->sin6_addr) == 1) { in grpc_string_to_sockaddr()
207 addr6->sin6_family = GRPC_AF_INET6; in grpc_string_to_sockaddr()
244 case GRPC_AF_INET6: in grpc_sockaddr_get_uri_scheme()
265 case GRPC_AF_INET6: in grpc_sockaddr_get_port()
286 case GRPC_AF_INET6: in grpc_sockaddr_set_port()
Dparse_address.cc219 in6->sin6_family = GRPC_AF_INET6; in grpc_parse_ipv6_hostport()
241 if (grpc_inet_pton(GRPC_AF_INET6, host_without_scope, &in6->sin6_addr) == in grpc_parse_ipv6_hostport()
262 if (grpc_inet_pton(GRPC_AF_INET6, host.c_str(), &in6->sin6_addr) == 0) { in grpc_parse_ipv6_hostport()
Dsockaddr_posix.h49 #define GRPC_AF_INET6 AF_INET6 macro
Dsockaddr_custom.h48 #define GRPC_AF_INET6 AF_INET6 macro
Dsockaddr_windows.h49 #define GRPC_AF_INET6 AF_INET6 macro
/external/grpc-grpc/src/core/lib/iomgr/
Dsockaddr_utils.cc49 if (addr->sa_family == GRPC_AF_INET6) { in grpc_sockaddr_is_v4mapped()
81 addr6_out->sin6_family = GRPC_AF_INET6; in grpc_sockaddr_to_v4mapped()
108 } else if (addr->sa_family == GRPC_AF_INET6) { in grpc_sockaddr_is_wildcard()
148 wild_out->sin6_family = GRPC_AF_INET6; in grpc_sockaddr_make_wildcard6()
175 } else if (addr->sa_family == GRPC_AF_INET6) { in grpc_sockaddr_to_string()
205 if (grpc_inet_pton(GRPC_AF_INET6, addr, &addr6->sin6_addr) == 1) { in grpc_string_to_sockaddr()
206 addr6->sin6_family = GRPC_AF_INET6; in grpc_string_to_sockaddr()
248 case GRPC_AF_INET6: in grpc_sockaddr_get_uri_scheme()
272 case GRPC_AF_INET6: in grpc_sockaddr_get_port()
303 case GRPC_AF_INET6: in grpc_sockaddr_set_port()
Dsockaddr_custom.h48 #define GRPC_AF_INET6 AF_INET6 macro
Dsockaddr_windows.h49 #define GRPC_AF_INET6 AF_INET6 macro
Dsockaddr_posix.h49 #define GRPC_AF_INET6 AF_INET6 macro
/external/grpc-grpc/test/core/client_channel/
Dparse_address_test.cc84 GPR_ASSERT(GRPC_AF_INET6 == addr_in6->sin6_family); in test_grpc_parse_ipv6()
85 GPR_ASSERT(nullptr != grpc_inet_ntop(GRPC_AF_INET6, &addr_in6->sin6_addr, in test_grpc_parse_ipv6()
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dparse_address.cc149 in6->sin6_family = GRPC_AF_INET6; in grpc_parse_ipv6_hostport()
169 if (grpc_inet_pton(GRPC_AF_INET6, host_without_scope, &in6->sin6_addr) == in grpc_parse_ipv6_hostport()
187 if (grpc_inet_pton(GRPC_AF_INET6, host, &in6->sin6_addr) == 0) { in grpc_parse_ipv6_hostport()
/external/grpc-grpc/test/core/iomgr/
Dsockaddr_utils_test.cc53 addr6->sin6_family = GRPC_AF_INET6; in make_addr6()
63 GPR_ASSERT(addr6->sin6_family == GRPC_AF_INET6); in set_addr6_scope_id()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/local/
Dlocal_security_connector.cc97 } else if (type == LOCAL_TCP && sock_addr->sa_family == GRPC_AF_INET6) { in local_check_peer()
/external/grpc-grpc/src/core/ext/filters/load_reporting/
Dserver_load_reporting_filter.cc162 } else if (addr->sa_family == GRPC_AF_INET6) { in GetCensusSafeClientIpString()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/load_reporting/
Dserver_load_reporting_filter.cc160 } else if (addr->sa_family == GRPC_AF_INET6) { in GetCensusSafeClientIpString()
/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/
Dgrpclb.cc435 addr6->sin6_family = GRPC_AF_INET6; in ParseServer()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/
Dgrpclb.cc508 addr6->sin6_family = GRPC_AF_INET6; in ParseServer()