PcapPlusPlus  Next
pcpp::NflogLayer::SerializedFields Struct Reference

#include <NflogLayer.h>

Inheritance diagram for pcpp::NflogLayer::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 Family
 Field descriptor for the address family of the packet (e.g. 2 for IPv4, 10 for IPv6).
 
static const FieldDescriptor Version
 Field descriptor for the pseudo-header version (0 for the current version).
 
static const FieldDescriptor ResourceID
 Field descriptor for the resource ID, i.e. the nflog group the packet was received on.
 
static const FieldDescriptor Attributes
 Field descriptor for the array of TLV attributes found in the layer.
 
static const FieldDescriptor Attribute
 Field descriptor for a single entry of the Attributes array, written as the attribute type name (e.g. "NFULA_PACKET_HDR").
 
- 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 NflogLayer's serializeLayer(), in addition to Layer::SerializedFields.

Member Function Documentation

◆ all()

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