libtins 4.4
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Tins::PDU::metadata Struct Reference

Type used to store a PDU header's data. More...

#include <pdu.h>

Public Member Functions

 metadata ()
 Default constructor.
 
 metadata (uint32_t header_size, PDUType current_type, PDUType next_type)
 Constructs an instance of metadata using the given values. More...
 

Public Attributes

uint32_t header_size
 
PDUType current_pdu_type
 
PDUType next_pdu_type
 

Detailed Description

Type used to store a PDU header's data.

Constructor & Destructor Documentation

◆ metadata()

Tins::PDU::metadata::metadata ( uint32_t  header_size,
PDUType  current_type,
PDUType  next_type 
)

Constructs an instance of metadata using the given values.

Member Data Documentation

◆ current_pdu_type

PDUType Tins::PDU::metadata::current_pdu_type

The current PDU type

◆ header_size

uint32_t Tins::PDU::metadata::header_size

The total header size for the current protocol

◆ next_pdu_type

PDUType Tins::PDU::metadata::next_pdu_type

The next PDU type


The documentation for this struct was generated from the following files: