Home
last modified time | relevance | path

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

/external/grpc-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()
/external/rust/crates/grpcio-sys/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()
/external/grpc-grpc/src/core/lib/iomgr/
Dsockaddr_utils.cc159 char ntop_buf[GRPC_INET6_ADDRSTRLEN]; in grpc_sockaddr_to_string() local
182 if (ip != nullptr && grpc_inet_ntop(addr->sa_family, ip, ntop_buf, in grpc_sockaddr_to_string()
183 sizeof(ntop_buf)) != nullptr) { in grpc_sockaddr_to_string()
187 gpr_asprintf(&host_with_scope, "%s%%25%" PRIu32, ntop_buf, sin6_scope_id); in grpc_sockaddr_to_string()
191 ret = gpr_join_host_port(out, ntop_buf, port); in grpc_sockaddr_to_string()
/external/tcpdump/
Dprint-domain.c489 char ntop_buf[INET6_ADDRSTRLEN]; in ns_rprint() local
494 addrtostr6(cp, ntop_buf, sizeof(ntop_buf)))); in ns_rprint()
503 char ntop_buf[INET6_ADDRSTRLEN]; in ns_rprint() local
518 addrtostr6(&a, ntop_buf, sizeof(ntop_buf)))); in ns_rprint()
Daddrtoname.c295 char ntop_buf[INET6_ADDRSTRLEN]; in getname6() local
327 cp = addrtostr6(ap, ntop_buf, sizeof(ntop_buf)); in getname6()
/external/ipsec-tools/src/racoon/
Disakmp.c2729 static char ntop_buf[NI_MAXHOST]; local
2738 ntop_buf, sizeof(ntop_buf), NULL, 0,
2740 strlcpy(ntop_buf, "?", sizeof(ntop_buf));
2742 return ntop_buf;
2755 static char ntop_buf[NI_MAXHOST]; local
2762 ntop_buf, sizeof(ntop_buf), NULL, 0,
2764 strlcpy(ntop_buf, "?", sizeof(ntop_buf));
2766 return ntop_buf;
/external/grpc-grpc/src/core/tsi/
Dssl_transport_security.cc366 char ntop_buf[INET6_ADDRSTRLEN]; in add_subject_alt_names_properties_to_peer() local
379 ntop_buf, INET6_ADDRSTRLEN); in add_subject_alt_names_properties_to_peer()
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/
Dssl_transport_security.cc392 char ntop_buf[INET6_ADDRSTRLEN]; in add_subject_alt_names_properties_to_peer() local
405 ntop_buf, INET6_ADDRSTRLEN); in add_subject_alt_names_properties_to_peer()