PcapPlusPlus  Next
pcpp::DpdkDevice::LinkStatus Struct Reference

#include <DpdkDevice.h>

Public Types

enum  LinkDuplex { FULL_DUPLEX , HALF_DUPLEX }
 Enum for describing link duplex. More...
 

Public Attributes

bool linkUp
 True if link is up, false if it's down.
 
int linkSpeedMbps
 Link speed in Mbps (for example: 10Gbe will show 10000)
 
LinkDuplex linkDuplex
 Link duplex (half/full duplex)
 

Detailed Description

A struct that contains the link status of a DpdkDevice (DPDK port). Returned from DpdkDevice::getLinkStatus()

Member Enumeration Documentation

◆ LinkDuplex

Enum for describing link duplex.

Enumerator
FULL_DUPLEX 

Full duplex.

HALF_DUPLEX 

Half duplex.