Wireshark 4.7.3
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
section_info_t Struct Reference

Per-section state accumulated while reading a pcapng Section Header Block and its contents. More...

#include <pcapng_module.h>

Public Attributes

bool byte_swapped
uint16_t version_major
uint16_t version_minor
GArray * interfaces
int64_t shb_off
GHashTable * custom_block_data
GHashTable * local_block_data

Detailed Description

Per-section state accumulated while reading a pcapng Section Header Block and its contents.

Member Data Documentation

◆ byte_swapped

bool section_info_t::byte_swapped

True if this section's byte order differs from the host; triggers swapping during reads.

◆ custom_block_data

GHashTable* section_info_t::custom_block_data

Per-PEN table of private state for custom blocks, keyed by Private Enterprise Number.

◆ interfaces

GArray* section_info_t::interfaces

Ordered array of interfaces declared by Interface Description Blocks in this section.

◆ local_block_data

GHashTable* section_info_t::local_block_data

Per-block-type table of private state for locally defined blocks, keyed by block type.

◆ shb_off

int64_t section_info_t::shb_off

File offset of the Section Header Block that opened this section.

◆ version_major

uint16_t section_info_t::version_major

Major version number of the pcapng format used in this section.

◆ version_minor

uint16_t section_info_t::version_minor

Minor version number of the pcapng format used in this section.


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