Lines Matching refs:DNSHeader
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;
278 bool makeResponseFromBinaryPacket(DNSHeader* header, char* response,
335 std::unordered_map<QueryKey, DNSHeader, QueryKeyHash> dnsheader_mappings_