This file is indexed.

/usr/include/measurement_kit/ndt/run.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
// 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_NDT_RUN_HPP
#define MEASUREMENT_KIT_NDT_RUN_HPP

#include <measurement_kit/report.hpp>

namespace mk {
namespace ndt {

// By default we pass MK_NDT_UPLOAD|MK_NDT_DOWNLOAD as settings["test_suite"]
// but you can tweak that by only requesting a single phase.
#define MK_NDT_MIDDLEBOX 1
#define MK_NDT_UPLOAD 2
#define MK_NDT_DOWNLOAD 4
#define MK_NDT_SIMPLE_FIREWALL 8
#define MK_NDT_STATUS 16
#define MK_NDT_META 32
#define MK_NDT_UPLOAD_EXT 64 // not implemented
#define MK_NDT_DOWNLOAD_EXT 128

void run_with_specific_server(Var<report::Entry> entry, std::string address, int port,
                              Callback<Error> callback, Settings settings = {},
                              Var<Reactor> reactor = Reactor::global(),
                              Var<Logger> logger = Logger::global());

void run(Var<report::Entry> entry, Callback<Error> callback, Settings settings = {},
         Var<Reactor> reactor = Reactor::global(),
         Var<Logger> logger = Logger::global());

} // namespace ndt
} // namespace mk
#endif