| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
Public Attributes | List of all members
_exp_pdu_data_t Struct Reference

Holds a protocol PDU and its associated metadata buffer for export via tap_queue_packet(). More...

`#include <exported_pdu.h>`

## Public Attributes
unsigned | tlv_buffer_len
uint8_t * | tlv_buffer
unsigned | tvb_captured_length
unsigned | tvb_reported_length
tvbuff_t * | pdu_tvb

## Detailed Description

Holds a protocol PDU and its associated metadata buffer for export via tap_queue_packet().

This struct is used as the data part of tap_queue_packet() and contains a buffer with metadata of the protocol PDU included in the tvb in the struct.

The metadata is a sequence of TLVs in the format for the header of LINKTYPE_WIRESHARK_UPPER_PDU packets in pcap pcapng files.

## Member Data Documentation

## ◆ pdu_tvb

tvbuff_t* _exp_pdu_data_t::pdu_tvb

Tvbuff containing the raw PDU data to be exported.

## ◆ tlv_buffer

uint8_t* _exp_pdu_data_t::tlv_buffer

Buffer containing the TLV-encoded protocol metadata.

## ◆ tlv_buffer_len

unsigned _exp_pdu_data_t::tlv_buffer_len

Length in bytes of the TLV metadata buffer.

## ◆ tvb_captured_length

unsigned _exp_pdu_data_t::tvb_captured_length

Number of bytes actually captured from the PDU tvb.

## ◆ tvb_reported_length

unsigned _exp_pdu_data_t::tvb_reported_length

Full reported length of the PDU tvb, which may exceed the captured length.

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

- /builds/wireshark/wireshark/epan/exported_pdu.h