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;
196 static bool fillRdata(const std::string& rdatastr, DNSRecord& record);
258 bool addAnswerRecords(const DNSQuestion& question, std::vector<DNSRecord>* answers) const;
Ddns_responder.cpp291 const char* DNSRecord::read(const char* buffer, const char* buffer_end) { in read()
311 char* DNSRecord::write(char* buffer, const char* buffer_end) const { in write()
323 std::string DNSRecord::toString() const { in toString()
330 const char* DNSRecord::readIntFields(const char* buffer, const char* buffer_end, unsigned* rdlen) { in readIntFields()
343 char* DNSRecord::writeIntFields(unsigned rdlen, char* buffer, const char* buffer_end) const { in writeIntFields()
434 for (const DNSRecord& answer : answers) { in write()
438 for (const DNSRecord& authority : authorities) { in write()
442 for (const DNSRecord& additional : additionals) { in write()
798 std::vector<DNSRecord>* answers) const { in addAnswerRecords()
821 DNSRecord record{ in addAnswerRecords()
[all …]
/packages/modules/DnsResolver/tests/
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.cpp86 test::DNSRecord record{ in makeAnswer()
Dresolv_integration_test.cpp5555 test::DNSRecord recordAnswer{ in TEST_P()
5565 test::DNSRecord recordAuthority{ in TEST_P()
5575 test::DNSRecord recordAdditional{ in TEST_P()