Searched refs:rdatastr (Results 1 – 2 of 2) sorted by relevance
813 bool DNSResponder::fillRdata(const std::string& rdatastr, DNSRecord& record) { in fillRdata() argument816 if (inet_pton(AF_INET, rdatastr.c_str(), record.rdata.data()) != 1) { in fillRdata()817 LOG(ERROR) << "inet_pton(AF_INET, " << rdatastr << ") failed"; in fillRdata()822 if (inet_pton(AF_INET6, rdatastr.c_str(), record.rdata.data()) != 1) { in fillRdata()823 LOG(ERROR) << "inet_pton(AF_INET6, " << rdatastr << ") failed"; in fillRdata()829 std::string name = rdatastr; in fillRdata()
191 static bool fillRdata(const std::string& rdatastr, DNSRecord& record);