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

Section Header Block (SHB) body encoding in a pcapng file, marking the start of a capture section. More...

#include <pcapng.h>

Public Attributes

uint32_t magic
uint16_t version_major
uint16_t version_minor
uint64_t section_length

Detailed Description

Section Header Block (SHB) body encoding in a pcapng file, marking the start of a capture section.

Member Data Documentation

◆ magic

uint32_t pcapng_section_header_block_s::magic

Byte-order magic number (0x1A2B3C4D); used to detect file endianness.

◆ section_length

uint64_t pcapng_section_header_block_s::section_length

Length in bytes of this section excluding the SHB itself; -1 if unknown.

◆ version_major

uint16_t pcapng_section_header_block_s::version_major

Major version of the pcapng format used in this section.

◆ version_minor

uint16_t pcapng_section_header_block_s::version_minor

Minor version of the pcapng format used in this section.


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