fpnt namespace

Classes

struct CacheEntry
class CSVReader
class Dispatcher
struct KeyGenContext
class KeyGenerator
class Loader
class Mapper
struct PathComparator
class PluginContext
class Reader
class TSharkCSVReader
class TSharkMapper
class TSharkOutputReader

Typedefs

using SortedPathSet = std::set<std::filesystem::path, PathComparator>
using fnptr_PrepFn = void(*)(fpnt::PluginContext&)
using fnptr_createKeyGenFn = KeyGenerator*(*)()

Functions

auto parse(int argc, char* argv[]) -> nlohmann::json
void chkOutputDir(const std::filesystem::path& output_dir_path, bool force_remove)
auto get_sorted_pcap_paths(std::string path) -> std::set<std::filesystem::path>
void chkOutFilepath(const std::filesystem::path& out_filepath)
auto default_extensions() -> std::set<std::string>
void print_set_details(const SortedPathSet& sorted, const std::string& title)
auto genTsharkCmd(const nlohmann::json config, TSharkMapper& in_map, std::filesystem::path& filepath, size_t cnt = -1) -> std::string
auto tshark_csv_fmt(std::vector<std::string> fields) -> csv::CSVFormat
auto default_CSVFormat() -> csv::CSVFormat

Typedef documentation

using fpnt::SortedPathSet = std::set<std::filesystem::path, PathComparator>

typedef void(*fpnt::fnptr_PrepFn)(fpnt::PluginContext&)

typedef KeyGenerator*(*fpnt::fnptr_createKeyGenFn)()

Function documentation

nlohmann::json fpnt::parse(int argc, char* argv[])

void fpnt::chkOutputDir(const std::filesystem::path& output_dir_path, bool force_remove)

std::set<std::filesystem::path> fpnt::get_sorted_pcap_paths(std::string path)

void fpnt::chkOutFilepath(const std::filesystem::path& out_filepath)

std::set<std::string> fpnt::default_extensions()

void fpnt::print_set_details(const SortedPathSet& sorted, const std::string& title)

std::string fpnt::genTsharkCmd(const nlohmann::json config, TSharkMapper& in_map, std::filesystem::path& filepath, size_t cnt = -1)

csv::CSVFormat fpnt::tshark_csv_fmt(std::vector<std::string> fields)

csv::CSVFormat fpnt::default_CSVFormat()