Searched refs:rdatastr (Results 1 – 2 of 2) sorted by relevance
846 bool DNSResponder::fillRdata(const std::string& rdatastr, DNSRecord& record) { in fillRdata() argument849 if (inet_pton(AF_INET, rdatastr.c_str(), record.rdata.data()) != 1) { in fillRdata()850 LOG(ERROR) << "inet_pton(AF_INET, " << rdatastr << ") failed"; in fillRdata()855 if (inet_pton(AF_INET6, rdatastr.c_str(), record.rdata.data()) != 1) { in fillRdata()856 LOG(ERROR) << "inet_pton(AF_INET6, " << rdatastr << ") failed"; in fillRdata()862 std::string name = rdatastr; in fillRdata()
197 static bool fillRdata(const std::string& rdatastr, DNSRecord& record);