1 #ifndef PCAPPP_KNI_DEVICE_LIST 2 #define PCAPPP_KNI_DEVICE_LIST 122 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:121
Definition: KniDeviceList.h:48
static bool isCallbackSupported(const KniCallbackType cbType)
static KniDeviceList & getInstance()
Getter for singleton.
Definition: KniDeviceList.h:60
Definition: KniDeviceList.h:62
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:77
Definition: KniDeviceList.h:22
KniCallbackType
Definition: KniDeviceList.h:53
This file and KniDeviceList.h provide PcapPlusPlus C++ wrapper for DPDK KNI (Kernel Network Interface...
Definition: KniDeviceList.h:58
KNI device initialization data. Used to create new KNI device. Usage of callbacks member or oldCallba...
Definition: KniDevice.h:229
Definition: KniDeviceList.h:56
static KniCallbackVersion callbackVersion()
Definition: KniDeviceList.h:46
KniCallbackVersion
Definition: KniDeviceList.h:43