| PcapPlusPlus
    23.09
    | 
#include <DpdkDevice.h>
| Public Types | |
| enum | LinkDuplex { FULL_DUPLEX, HALF_DUPLEX } | 
| Public Attributes | |
| bool | linkUp | 
| int | linkSpeedMbps | 
| LinkDuplex | linkDuplex | 
A struct that contains the link status of a DpdkDevice (DPDK port). Returned from DpdkDevice::getLinkStatus()
| LinkDuplex pcpp::DpdkDevice::LinkStatus::linkDuplex | 
Link duplex (half/full duplex)
| int pcpp::DpdkDevice::LinkStatus::linkSpeedMbps | 
Link speed in Mbps (for example: 10Gbe will show 10000)
| bool pcpp::DpdkDevice::LinkStatus::linkUp | 
True if link is up, false if it's down