Lines Matching refs:DNSHeader
85 struct DNSHeader { struct
168 void addMappingDnsHeader(const std::string& name, ns_type type, const DNSHeader& header);
235 bool hasOptPseudoRR(DNSHeader* header) const;
245 bool generateErrorResponse(DNSHeader* header, ns_rcode rcode, char* response,
251 bool writePacket(const DNSHeader* header, char* response, size_t* response_len) const;
253 bool makeErrorResponse(DNSHeader* header, ns_rcode rcode, char* response,
256 bool makeTruncatedResponse(DNSHeader* header, char* response, size_t* response_len) const;
258 bool makeResponse(DNSHeader* header, int protocol, char* response, size_t* response_len) const;
260 bool makeResponseFromAddressOrHostname(DNSHeader* header, char* response,
262 bool makeResponseFromDnsHeader(DNSHeader* header, char* response, size_t* response_len) const;
263 bool makeResponseFromBinaryPacket(DNSHeader* header, char* response,
318 std::unordered_map<QueryKey, DNSHeader, QueryKeyHash> dnsheader_mappings_