3 #include "dnspacket.hh"
10 void submitResponse(DNSPacket &p, bool udpOrTCP);
11 void submitResponse(uint16_t qtype, uint16_t respsize, bool udpOrTCP);
12 map<uint16_t, uint64_t> getQTypeResponseCounts();
13 map<uint16_t, uint64_t> getSizeResponseCounts();
14 string getQTypeReport();
17 boost::scoped_array<std::atomic<unsigned long>> d_qtypecounters;
18 typedef vector<pair<uint16_t, uint64_t> > sizecounters_t;
19 sizecounters_t d_sizecounters;
22 extern ResponseStats g_rs;