PcapPlusPlus
22.11
|
#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 |
Close the device
Implemented in pcpp::DpdkDevice, pcpp::KniDevice, pcpp::PcapNgFileWriterDevice, pcpp::PcapLiveDevice, pcpp::PcapFileWriterDevice, pcpp::PcapNgFileReaderDevice, pcpp::PfRingDevice, pcpp::SnoopFileReaderDevice, pcpp::RawSocketDevice, and pcpp::IFileDevice.
|
inline |
|
pure virtual |
Open the device
Implemented in pcpp::DpdkDevice, pcpp::KniDevice, pcpp::PcapNgFileWriterDevice, pcpp::PcapLiveDevice, pcpp::PcapFileWriterDevice, pcpp::PcapNgFileReaderDevice, pcpp::PfRingDevice, pcpp::SnoopFileReaderDevice, pcpp::PcapFileReaderDevice, pcpp::RawSocketDevice, and pcpp::PcapRemoteDevice.