PcapPlusPlus
20.08
|
#include <PcapFileDevice.h>
Public Member Functions | |
std::string | getFileName () const |
virtual void | close () |
Public Member Functions inherited from pcpp::IPcapDevice | |
virtual void | getStatistics (pcap_stat &stats) const =0 |
virtual bool | setFilter (std::string filterAsString) |
bool | clearFilter () |
virtual bool | setFilter (GeneralFilter &filter) |
virtual bool | setFilter (std::string filterAsString)=0 |
Public Member Functions inherited from pcpp::IDevice | |
virtual bool | open ()=0 |
bool | isOpened () |
Public Member Functions inherited from pcpp::IFilterableDevice | |
virtual bool | setFilter (GeneralFilter &filter) |
Additional Inherited Members | |
Static Public Member Functions inherited from pcpp::IPcapDevice | |
static std::string | getPcapLibVersionInfo () |
static bool | verifyFilter (std::string filterAsString) |
static bool | matchPacketWithFilter (std::string filterAsString, RawPacket *rawPacket) |
static bool | matchPacketWithFilter (GeneralFilter &filter, RawPacket *rawPacket) |
An abstract class (cannot be instantiated, has a private c'tor) which is the parent class for all file devices
|
virtual |
Close the file
Implements pcpp::IDevice.
Reimplemented in pcpp::PcapNgFileWriterDevice, pcpp::PcapFileWriterDevice, and pcpp::PcapNgFileReaderDevice.
std::string pcpp::IFileDevice::getFileName | ( | ) | const |