PcapPlusPlus
20.08
|
#include <PfRingDeviceList.h>
Public Member Functions | |
const std::vector< PfRingDevice * > & | getPfRingDevicesList () const |
PfRingDevice * | getPfRingDeviceByName (const std::string devName) const |
std::string | getPfRingVersion () const |
Static Public Member Functions | |
static PfRingDeviceList & | getInstance () |
A singleton class that holds all available PF_RING devices. Through this class the user can iterate all PF_RING devices or find a specific device by name
|
inlinestatic |
A static method that returns the singleton object for PfRingDeviceList
PfRingDevice* pcpp::PfRingDeviceList::getPfRingDeviceByName | ( | const std::string | devName | ) | const |
Get a PF_RING device by name. The name is the Linux interface name which appears in ifconfig (e.g eth0, eth1, etc.)
|
inline |
Return a list of all available PF_RING devices
|
inline |
Get installed PF_RING version