PcapPlusPlus
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

uint8_t pcpp::pppoe_header::code

PPPoE code

uint16_t pcpp::pppoe_header::payloadLength

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

uint16_t pcpp::pppoe_header::sessionId

PPPoE session ID (relevant for PPPoE session packets only)

uint8_t pcpp::pppoe_header::type

PPPoE type

uint8_t pcpp::pppoe_header::version

PPPoE version