PcapPlusPlus  20.08+
pcpp::pppoe_header Struct Reference

#include <PPPoELayer.h>

Public Attributes

uint8_t version:4
 
uint8_t type:4
 
uint8_t code
 
uint16_t sessionId
 
uint16_t payloadLength
 

Detailed Description

Represents an PPPoE protocol header

Member Data Documentation

◆ code

uint8_t pcpp::pppoe_header::code

PPPoE code

◆ payloadLength

uint16_t pcpp::pppoe_header::payloadLength

Length (in bytes) of payload, not including the PPPoE header

◆ sessionId

uint16_t pcpp::pppoe_header::sessionId

PPPoE session ID (relevant for PPPoE session packets only)

◆ type

uint8_t pcpp::pppoe_header::type

PPPoE type

◆ version

uint8_t pcpp::pppoe_header::version

PPPoE version