Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder.h61 struct DNSRecord { struct
96 std::vector<DNSRecord> answers;
97 std::vector<DNSRecord> authorities;
98 std::vector<DNSRecord> additionals;
192 static bool fillRdata(const std::string& rdatastr, DNSRecord& record);
254 bool addAnswerRecords(const DNSQuestion& question, std::vector<DNSRecord>* answers) const;
Ddns_responder.cpp261 const char* DNSRecord::read(const char* buffer, const char* buffer_end) { in read()
281 char* DNSRecord::write(char* buffer, const char* buffer_end) const { in write()
293 std::string DNSRecord::toString() const { in toString()
300 const char* DNSRecord::readIntFields(const char* buffer, const char* buffer_end, unsigned* rdlen) { in readIntFields()
313 char* DNSRecord::writeIntFields(unsigned rdlen, char* buffer, const char* buffer_end) const { in writeIntFields()
404 for (const DNSRecord& answer : answers) { in write()
408 for (const DNSRecord& authority : authorities) { in write()
412 for (const DNSRecord& additional : additionals) { in write()
768 std::vector<DNSRecord>* answers) const { in addAnswerRecords()
791 DNSRecord record{ in addAnswerRecords()
[all …]
/packages/modules/DnsResolver/
Dresolv_unit_test.cpp69 test::DNSRecord MakeAnswerRecord(const std::string& name, unsigned rclass, unsigned rtype, in MakeAnswerRecord()
71 test::DNSRecord record{ in MakeAnswerRecord()
111 test::DNSRecord record = MakeAnswerRecord(qname, qclass, qtype, r); in MakeDnsMessage()
Dresolv_cache_unit_test.cpp87 test::DNSRecord record{ in makeAnswer()
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp4844 test::DNSRecord recordAnswer{ in TEST_P()
4854 test::DNSRecord recordAuthority{ in TEST_P()
4864 test::DNSRecord recordAdditional{ in TEST_P()