PcapPlusPlus  Next
pcpp::gre1_header Struct Reference

#include <GreLayer.h>

Inheritance diagram for pcpp::gre1_header:
pcpp::gre_basic_header

Public Attributes

uint16_t payloadLength
 Size of the payload not including the GRE header.
 
uint16_t callID
 Contains the Peer's Call ID for the session to which this packet belongs.
 
- Public Attributes inherited from pcpp::gre_basic_header
uint8_t recursionControl: 3
 Number of additional encapsulations which are permitted. 0 is the default value.
 
uint8_t strictSourceRouteBit: 1
 Strict source routing bit (GRE v0 only)
 
uint8_t sequenceNumBit: 1
 Set if sequence number exists.
 
uint8_t keyBit: 1
 Set if key exists.
 
uint8_t routingBit: 1
 Set if routing exists (GRE v0 only)
 
uint8_t checksumBit: 1
 Set if checksum exists (GRE v0 only)
 
uint8_t version: 3
 GRE version - can be 0 or 1.
 
uint8_t flags: 4
 Reserved.
 
uint8_t ackSequenceNumBit: 1
 Set if acknowledgment number is set (GRE v1 only)
 
uint16_t protocol
 Protocol type of the next layer.
 

Detailed Description

Represents GREv1 protocol header