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