Searched refs:DNSRecord (Results 1 – 2 of 2) sorted by relevance
38 struct DNSRecord;116 bool addAnswerRecords(const DNSQuestion& question, std::vector<DNSRecord>* answers) const;118 bool fillAnswerRdata(const std::string& rdatastr, DNSRecord& record) const;
287 struct DNSRecord { struct310 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 …]