PcapPlusPlus  Next
pcpp::nflog_header Struct Reference

#include <NflogLayer.h>

Public Attributes

uint8_t addressFamily
 
uint8_t version
 
uint16_t resourceId
 

Detailed Description

Represents Nflog header

Member Data Documentation

◆ addressFamily

uint8_t pcpp::nflog_header::addressFamily

A Linux AF_ value, so it's 2 for IPv4 and 10 for IPv6

◆ resourceId

uint16_t pcpp::nflog_header::resourceId

The network byte order (big-endian)

◆ version

uint8_t pcpp::nflog_header::version

The version field is 0 for the current version of the pseudo-header