|
PcapPlusPlus
20.08
|
1 #ifndef PCAPPP_KNI_DEVICE_LIST
2 #define PCAPPP_KNI_DEVICE_LIST
122 std::vector<KniDevice*> m_Devices;
static bool isCallbackSupported(const KniCallbackType cbType)
@ CALLBACK_MAC
Definition: KniDeviceList.h:60
KNI device initialization data. Used to create new KNI device. Usage of callbacks member or oldCallba...
Definition: KniDevice.h:228
KniDevice * getDeviceByName(const std::string &name)
Returns KNI device with specified name.
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 ...
@ CALLBACK_MTU
Definition: KniDeviceList.h:56
Definition: KniDevice.h:120
@ CALLBACKS_OLD
Definition: KniDeviceList.h:48
bool isInitialized()
Definition: KniDeviceList.h:77
KniCallbackType
Definition: KniDeviceList.h:53
Definition: KniDeviceList.h:22
static KniDeviceList & getInstance()
Getter for singleton.
static KniCallbackVersion callbackVersion()
The main namespace for the PcapPlusPlus lib.
@ CALLBACK_LINK
Definition: KniDeviceList.h:58
This file and KniDeviceList.h provide PcapPlusPlus C++ wrapper for DPDK KNI (Kernel Network Interace)...
@ CALLBACKS_NEW
Definition: KniDeviceList.h:46
KniCallbackVersion
Definition: KniDeviceList.h:43
KniDevice * getDeviceByPort(const uint16_t portId)
Returns KNI device with specified portId.
@ CALLBACK_PROMISC
Definition: KniDeviceList.h:62