1 #ifndef PCAPPP_KNI_DEVICE_LIST 2 #define PCAPPP_KNI_DEVICE_LIST 124 std::vector<KniDevice*> m_Devices;
The main namespace for the PcapPlusPlus lib.
KniDevice * getDeviceByPort(const uint16_t portId)
Returns KNI device with specified portId.
Definition: KniDevice.h:123
Definition: KniDeviceList.h:50
static bool isCallbackSupported(const KniCallbackType cbType)
static KniDeviceList & getInstance()
Getter for singleton.
Definition: KniDeviceList.h:62
Definition: KniDeviceList.h:64
KniDevice * createDevice(const KniDevice::KniDeviceConfiguration &config, const size_t mempoolSize)
Factory method for KNI devices. Newly created device is remembered under portId and name provided in ...
KniDevice * getDeviceByName(const std::string &name)
Returns KNI device with specified name.
bool isInitialized()
Definition: KniDeviceList.h:79
Definition: KniDeviceList.h:24
KniCallbackType
Definition: KniDeviceList.h:55
This file and KniDeviceList.h provide PcapPlusPlus C++ wrapper for DPDK KNI (Kernel Network Interface...
Definition: KniDeviceList.h:60
KNI device initialization data. Used to create new KNI device. Usage of callbacks member or oldCallba...
Definition: KniDevice.h:231
Definition: KniDeviceList.h:58
static KniCallbackVersion callbackVersion()
Definition: KniDeviceList.h:48
KniCallbackVersion
Definition: KniDeviceList.h:45