Home
last modified time | relevance | path

Searched refs:rdatastr (Results 1 – 2 of 2) sorted by relevance

/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder.cpp846 bool DNSResponder::fillRdata(const std::string& rdatastr, DNSRecord& record) { in fillRdata() argument
849 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()
Ddns_responder.h197 static bool fillRdata(const std::string& rdatastr, DNSRecord& record);