PcapPlusPlus
24.09
|
#include <NflogLayer.h>
Public Member Functions | |
NflogTlv (uint8_t *recordRawData) | |
size_t | getTotalSize () const |
void | assign (uint8_t *recordRawData) |
bool | isNull () const |
uint16_t | getType () const |
uint8_t * | getRecordBasePtr () const |
uint8_t * | getValue () const |
Static Public Member Functions | |
static bool | canAssign (const uint8_t *recordRawData, size_t tlvDataLen) |
A wrapper class for NFLOG TLV fields. This class does not create or modify TLVs related to NFLOG, but rather serves as a wrapper and provides useful methods for setting and retrieving data to/from them
|
inlineexplicit |
A c'tor for this class that gets a pointer to the option raw data (byte array)
[in] | recordRawData | A pointer to the option raw data |
|
inline |
Assign a pointer to the TLV record raw data (byte array)
[in] | recordRawData | A pointer to the TLV record raw data |
|
inlinestatic |
Check if a pointer can be assigned to the TLV record data
[in] | recordRawData | A pointer to the TLV record raw data |
[in] | tlvDataLen | The size of the TLV record raw data |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |