|
Wireshark 4.7.0
The Wireshark network protocol analyzer
|
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 |
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.
| tvbuff_t* _exp_pdu_data_t::pdu_tvb |
Tvbuff containing the raw PDU data to be exported.
| uint8_t* _exp_pdu_data_t::tlv_buffer |
Buffer containing the TLV-encoded protocol metadata.
| unsigned _exp_pdu_data_t::tlv_buffer_len |
Length in bytes of the TLV metadata buffer.
| unsigned _exp_pdu_data_t::tvb_captured_length |
Number of bytes actually captured from the PDU tvb.
| unsigned _exp_pdu_data_t::tvb_reported_length |
Full reported length of the PDU tvb, which may exceed the captured length.