Home
last modified time | relevance | path

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

/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/
Dload_balancer_api.cc32 if (ip_size != other.ip_size) return false; in operator ==()
33 int r = memcmp(ip_addr, other.ip_addr, ip_size); in operator ==()
129 cur.ip_size = static_cast<int32_t>(address.size); in ParseServerList()
Dload_balancer_api.h41 int32_t ip_size; member
Dgrpclb.cc498 if (server.ip_size == 4) { in ParseServer()
502 memcpy(&addr4->sin_addr, server.ip_addr, server.ip_size); in ParseServer()
504 } else if (server.ip_size == 16) { in ParseServer()
509 memcpy(&addr6->sin6_addr, server.ip_addr, server.ip_size); in ParseServer()
543 if (GPR_UNLIKELY(server.ip_size != 4 && server.ip_size != 16)) { in IsServerValid()
548 server.ip_size, idx); in IsServerValid()
/third_party/grpc/test/cpp/grpclb/
Dgrpclb_api_test.cc55 if (server.ip_size == 4) { in PackedStringToIp()
57 } else if (server.ip_size == 16) { in PackedStringToIp()