/usr/include/measurement_kit/dns/query_type.hpp is in libmeasurement-kit-dev 0.7.1-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | // Part of measurement-kit <https://measurement-kit.github.io/>.
// Measurement-kit is free software. See AUTHORS and LICENSE for more
// information on the copying conditions.
#ifndef MEASUREMENT_KIT_DNS_QUERY_TYPE_HPP
#define MEASUREMENT_KIT_DNS_QUERY_TYPE_HPP
#include <measurement_kit/dns/qctht_.hpp>
namespace mk {
namespace dns {
#define MK_DNS_TYPE_IDS \
XX(INVALID) /* Must be first */ \
XX(A) \
XX(NS) \
XX(MD) \
XX(MF) \
XX(CNAME) \
XX(SOA) \
XX(MB) \
XX(MG) \
XX(MR) \
XX(NUL) \
XX(WKS) \
XX(PTR) \
XX(HINFO) \
XX(MINFO) \
XX(MX) \
XX(TXT) \
XX(AAAA) \
XX(REVERSE_A /* nonstandard */) \
XX(REVERSE_AAAA /* nonstandard */)
#define XX(_name) MK_DNS_TYPE_##_name,
enum QueryTypeId { MK_DNS_TYPE_IDS };
#undef XX
QueryTypeId query_type_ids_(std::string s);
using QueryType = qctht_<QueryTypeId, query_type_ids_>;
} // namespace dns
} // namespace mk
#endif
|