Home
last modified time | relevance | path

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

/system/netd/resolv/dns_responder/
Ddns_responder.h38 struct DNSRecord;
116 bool addAnswerRecords(const DNSQuestion& question, std::vector<DNSRecord>* answers) const;
118 bool fillAnswerRdata(const std::string& rdatastr, DNSRecord& record) const;
Ddns_responder.cpp287 struct DNSRecord { struct
310 const char* DNSRecord::read(const char* buffer, const char* buffer_end) { in read()
330 char* DNSRecord::write(char* buffer, const char* buffer_end) const { in write()
342 std::string DNSRecord::toString() const { in toString()
349 const char* DNSRecord::readIntFields(const char* buffer, const char* buffer_end, in readIntFields()
363 char* DNSRecord::writeIntFields(unsigned rdlen, char* buffer, in writeIntFields()
388 std::vector<DNSRecord> answers;
389 std::vector<DNSRecord> authorities;
390 std::vector<DNSRecord> additionals;
490 for (const DNSRecord& answer : answers) { in write()
[all …]