PcapPlusPlus
24.09
|
#include <Device.h>
Public Member Functions | |
virtual bool | open ()=0 |
virtual void | close ()=0 |
bool | isOpened () |
An abstract interface representing all packet processing devices. It stands as the root class for all devices. This is an abstract class that cannot be instantiated
|
pure virtual |
|
inline |
|
pure virtual |
Open the device
Implemented in pcpp::XdpDevice, pcpp::RawSocketDevice, pcpp::PcapRemoteDevice, pcpp::PcapLiveDevice, pcpp::PcapFileWriterDevice, pcpp::DpdkDevice, pcpp::PfRingDevice, pcpp::PcapNgFileWriterDevice, pcpp::PcapNgFileReaderDevice, pcpp::SnoopFileReaderDevice, pcpp::PcapFileReaderDevice, and pcpp::KniDevice.