Searched refs:ip_bytes (Results 1 – 1 of 1) sorted by relevance
105 uint32_t ip_bytes; in GetClientIpBytes() local106 if (sscanf(client_ip_hex_.c_str(), "%x", &ip_bytes) != 1) { in GetClientIpBytes()112 ip_bytes = grpc_htonl(ip_bytes); in GetClientIpBytes()113 return grpc::string(reinterpret_cast<const char*>(&ip_bytes), in GetClientIpBytes()114 sizeof(ip_bytes)); in GetClientIpBytes()116 uint32_t ip_bytes[4]; in GetClientIpBytes() local119 ip_bytes + i) != 1) { in GetClientIpBytes()126 ip_bytes[i] = grpc_htonl(ip_bytes[i]); in GetClientIpBytes()128 return grpc::string(reinterpret_cast<const char*>(ip_bytes), in GetClientIpBytes()129 sizeof(ip_bytes)); in GetClientIpBytes()