Searched refs:ip_size (Results 1 – 4 of 4) sorted by relevance
32 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()
41 int32_t ip_size; member
498 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()
55 if (server.ip_size == 4) { in PackedStringToIp()57 } else if (server.ip_size == 16) { in PackedStringToIp()