Class PcapReader
Defined in File pcap_reader.h
Class Documentation
-
class PcapReader
Public Functions
-
PcapReader(const std::string &filename, const std::string &ip_address, unsigned int port, network::ProtocolType protocol_type)
-
~PcapReader()
-
explicit operator bool() const
-
bool readSingle(network::NonOwningBuffer *payload)
-
std::list<std::vector<std::byte>> reallAll()
Reads the whole pcap file into memory, stripping protocol data and keeping only the payload. XXX Make sure you have enough RAM
-
PcapReader(const std::string &filename, const std::string &ip_address, unsigned int port, network::ProtocolType protocol_type)