PcapPlusPlus  Next
pcpp::GtpV2Layer::SerializedFields Struct Reference

#include <GtpLayer.h>

Inheritance diagram for pcpp::GtpV2Layer::SerializedFields:
pcpp::Layer::SerializedFields

Static Public Member Functions

static std::vector< FieldDescriptor > all ()
 
- Static Public Member Functions inherited from pcpp::Layer::SerializedFields
static std::vector< FieldDescriptor > all ()
 

Static Public Attributes

static const FieldDescriptor MessageType
 GTPv2 message type, as the raw integer value from the header.
 
static const FieldDescriptor MessageTypeName
 GTPv2 message type name, as returned by GtpV2MessageType::toString()
 
static const FieldDescriptor MessageLength
 Message length field in bytes (host byte order), excluding the first 4 octets of the header.
 
static const FieldDescriptor Piggybacking
 Whether another GTPv2 message is piggybacked on this one, as a boolean.
 
static const FieldDescriptor Teid
 Tunnel endpoint identifier in hexadecimal (host byte order), only when the TEID flag is set.
 
static const FieldDescriptor SequenceNumber
 24-bit sequence number (host byte order)
 
static const FieldDescriptor MessagePriority
 4-bit message priority, only when the message priority flag is set
 
static const FieldDescriptor InformationElements
 List of information element (IE) types present in the message.
 
static const FieldDescriptor InformationElement
 A single information element (IE) type, as an integer.
 
- Static Public Attributes inherited from pcpp::Layer::SerializedFields
static const FieldDescriptor ProtocolName
 Field descriptor for the layer protocol name.
 
static const FieldDescriptor ProtocolId
 Field descriptor for the layer protocol ID.
 
static const FieldDescriptor Length
 Field descriptor for the layer length.
 
static constexpr uint16_t MaxID = 1
 Maximum field ID used by the layer.
 

Detailed Description

Fields written by GtpV2Layer's serializeLayer(), in addition to Layer::SerializedFields

Member Function Documentation

◆ all()

static std::vector<FieldDescriptor> pcpp::GtpV2Layer::SerializedFields::all ( )
inlinestatic
Returns
All field descriptors for GtpV2Layer