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>
#include <fpnt/dispatcher.h>
typedef void(*fpnt:: fnptr_PrepFn)(fpnt::PluginContext&)
#include <fpnt/loader.h>
typedef KeyGenerator*(*fpnt:: fnptr_createKeyGenFn)()
#include <fpnt/loader.h>
Function documentation
nlohmann::json fpnt:: parse(int argc,
char* argv[])
#include <fpnt/config.h>
void fpnt:: chkOutputDir(const std::filesystem::path& output_dir_path,
bool force_remove)
#include <fpnt/dispatcher.h>
std::set<std::filesystem::path> fpnt:: get_sorted_pcap_paths(std::string path)
#include <fpnt/dispatcher.h>
void fpnt:: chkOutFilepath(const std::filesystem::path& out_filepath)
#include <fpnt/dispatcher.h>
std::set<std::string> fpnt:: default_extensions()
#include <fpnt/dispatcher.h>
void fpnt:: print_set_details(const SortedPathSet& sorted,
const std::string& title)
#include <fpnt/dispatcher.h>
std::string fpnt:: genTsharkCmd(const nlohmann::json config,
TSharkMapper& in_map,
std::filesystem::path& filepath,
size_t cnt = -1)
#include <fpnt/reader.h>
csv::CSVFormat fpnt:: tshark_csv_fmt(std::vector<std::string> fields)
#include <fpnt/reader.h>
csv::CSVFormat fpnt:: default_CSVFormat()
#include <fpnt/reader.h>