Home
last modified time | relevance | path

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

/external/grpc-grpc/test/cpp/grpclb/
Dgrpclb_api_test.cc42 grpc::string PackedStringToIp(const grpc_grpclb_ip_address& pb_ip) { in PackedStringToIp() argument
45 if (pb_ip.size == 4) { in PackedStringToIp()
47 } else if (pb_ip.size == 16) { in PackedStringToIp()
52 GPR_ASSERT(inet_ntop(af, (void*)pb_ip.bytes, ip_str, 46) != nullptr); in PackedStringToIp()