Lines Matching refs:host
88 ServerIdentity(const netdutils::IPSockAddr& addr, const std::string& host) in ServerIdentity()
89 : sockaddr(addr), provider(host) {} in ServerIdentity()
129 void onDohStatusUpdate(uint32_t netId, bool success, const char* ipAddr, const char* host)
211 std::string host; member
214 return std::tie(ipAddr, host) < std::tie(other.ipAddr, other.host);
217 return std::tie(ipAddr, host) == std::tie(other.ipAddr, other.host);
221 return std::tie(ipAddr, host) < std::tie(otherIp, other.provider);
225 return std::tie(ipAddr, host) == std::tie(otherIp, other.provider);
232 std::string host; member
237 const std::string& host) const { in getDohIdentity()
242 if (!host.empty()) { in getDohIdentity()
243 if (this->host != host) return Errorf("host {} not matched", host); in getDohIdentity()
246 LOG(INFO) << fmt::format("getDohIdentity: {} {}", ip, host); in getDohIdentity()
247 return DohIdentity{httpsTemplate, ip, host, Validation::in_process}; in getDohIdentity()
252 LOG(INFO) << fmt::format("getDohIdentity: {} {}", ip, host); in getDohIdentity()
253 return DohIdentity{httpsTemplate, ip, host, Validation::in_process}; in getDohIdentity()