Searched refs:DNSHeader (Results 1 – 7 of 7) sorted by relevance
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_responder.h | 85 struct DNSHeader { struct 172 void addMappingDnsHeader(const std::string& name, ns_type type, const DNSHeader& header); 250 bool hasOptPseudoRR(DNSHeader* header) const; 260 bool generateErrorResponse(DNSHeader* header, ns_rcode rcode, char* response, 266 bool writePacket(const DNSHeader* header, char* response, size_t* response_len) const; 268 bool makeErrorResponse(DNSHeader* header, ns_rcode rcode, char* response, 271 bool makeTruncatedResponse(DNSHeader* header, char* response, size_t* response_len) const; 273 bool makeResponse(DNSHeader* header, int protocol, char* response, size_t* response_len) const; 275 bool makeResponseFromAddressOrHostname(DNSHeader* header, char* response, 277 bool makeResponseFromDnsHeader(DNSHeader* header, char* response, size_t* response_len) const; [all …]
|
D | dns_responder.cpp | 356 const char* DNSHeader::read(const char* buffer, const char* buffer_end) { in read() 409 char* DNSHeader::write(char* buffer, const char* buffer_end) const { in write() 450 bool DNSHeader::write(std::vector<uint8_t>* out) const { in write() 458 std::string DNSHeader::toString() const { in toString() 463 const char* DNSHeader::readHeader(const char* buffer, const char* buffer_end, unsigned* qdcount, in readHeader() 506 const DNSHeader& header) { in addMappingDnsHeader() 695 bool DNSResponder::hasOptPseudoRR(DNSHeader* header) const { in hasOptPseudoRR() 734 DNSHeader header; in handleDNSRequest() 894 bool DNSResponder::writePacket(const DNSHeader* header, char* response, in writePacket() 904 bool DNSResponder::makeErrorResponse(DNSHeader* header, ns_rcode rcode, char* response, in makeErrorResponse() [all …]
|
D | dns_tls_frontend.cpp | 266 DNSHeader dnsHdr; in handleRequests()
|
/packages/modules/DnsResolver/tests/ |
D | resolv_test_utils.h | 144 static const test::DNSHeader kDefaultDnsHeader = {
|
D | resolv_unit_test.cpp | 57 test::DNSHeader header; // dns header 99 test::DNSHeader header(kDefaultDnsHeader); in MakeDnsMessage()
|
D | resolv_cache_unit_test.cpp | 81 test::DNSHeader header; in makeAnswer()
|
D | resolv_integration_test.cpp | 5529 test::DNSHeader header(kDefaultDnsHeader); in TEST_P()
|