Searched refs:DNSRecord (Results 1 – 5 of 5) sorted by relevance
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_responder.h | 61 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;
|
D | dns_responder.cpp | 291 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/ |
D | resolv_unit_test.cpp | 69 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()
|
D | resolv_cache_unit_test.cpp | 86 test::DNSRecord record{ in makeAnswer()
|
D | resolv_integration_test.cpp | 5555 test::DNSRecord recordAnswer{ in TEST_P() 5565 test::DNSRecord recordAuthority{ in TEST_P() 5575 test::DNSRecord recordAdditional{ in TEST_P()
|