PcapPlusPlus
|
#include <DpdkDevice.h>
Public Member Functions | |
PciAddress () | |
PciAddress (uint16_t domain, uint8_t bus, uint8_t devid, uint8_t function) | |
std::string | toString () |
bool | operator== (const PciAddress &other) const |
Public Attributes | |
uint16_t | domain |
uint8_t | bus |
uint8_t | devid |
uint8_t | function |
A class representing a PCI address
|
inline |
Default c'tor that initializes all PCI address fields to 0 (until set otherwise, address will look like: 0000:00:00.0)
|
inline |
A c'tor that initializes all PCI address fields
[in] | domain | Device domain |
[in] | bus | Device bus id |
[in] | devid | Device ID |
[in] | function | Device function |
|
inline |
Comparison operator overload. Two PCI addresses are equal if all of their address parts (domain, bus, devid, function) are equal
|
inline |
uint8_t pcpp::PciAddress::bus |
Device bus id
uint8_t pcpp::PciAddress::devid |
Device ID
uint16_t pcpp::PciAddress::domain |
Device domain
uint8_t pcpp::PciAddress::function |
Device function