Home
last modified time | relevance | path

Searched refs:ntop_buf (Results 1 – 3 of 3) sorted by relevance

/third_party/grpc/test/core/client_channel/
Dparse_address_test.cc62 char ntop_buf[GRPC_INET_ADDRSTRLEN]; in test_grpc_parse_ipv4() local
68 ntop_buf, sizeof(ntop_buf))); in test_grpc_parse_ipv4()
69 GPR_ASSERT(0 == strcmp(ntop_buf, host)); in test_grpc_parse_ipv4()
80 char ntop_buf[GRPC_INET6_ADDRSTRLEN]; in test_grpc_parse_ipv6() local
86 ntop_buf, sizeof(ntop_buf))); in test_grpc_parse_ipv6()
87 GPR_ASSERT(0 == strcmp(ntop_buf, host)); in test_grpc_parse_ipv6()
/third_party/grpc/src/core/lib/iomgr/
Dsockaddr_utils.cc181 char ntop_buf[GRPC_INET6_ADDRSTRLEN]; in grpc_sockaddr_to_string() local
183 if (ip != nullptr && grpc_inet_ntop(addr->sa_family, ip, ntop_buf, in grpc_sockaddr_to_string()
184 sizeof(ntop_buf)) != nullptr) { in grpc_sockaddr_to_string()
188 absl::StrFormat("%s%%25%" PRIu32, ntop_buf, sin6_scope_id); in grpc_sockaddr_to_string()
191 out = grpc_core::JoinHostPort(ntop_buf, port); in grpc_sockaddr_to_string()
/third_party/grpc/src/core/tsi/
Dssl_transport_security.cc389 char ntop_buf[INET6_ADDRSTRLEN]; in add_subject_alt_names_properties_to_peer() local
402 ntop_buf, INET6_ADDRSTRLEN); in add_subject_alt_names_properties_to_peer()