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; 192 static bool fillRdata(const std::string& rdatastr, DNSRecord& record); 254 bool addAnswerRecords(const DNSQuestion& question, std::vector<DNSRecord>* answers) const;
|
D | dns_responder.cpp | 261 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/ |
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 | 87 test::DNSRecord record{ in makeAnswer()
|
/packages/modules/DnsResolver/tests/ |
D | resolv_integration_test.cpp | 4844 test::DNSRecord recordAnswer{ in TEST_P() 4854 test::DNSRecord recordAuthority{ in TEST_P() 4864 test::DNSRecord recordAdditional{ in TEST_P()
|