Wireshark 4.7.2
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
wtap_option_t Struct Reference

Represents a single option instance within a pcapng block, pairing an option code with its value. More...

#include <wtap_opttypes.h>

Public Attributes

unsigned option_id
wtap_optval_t value

Detailed Description

Represents a single option instance within a pcapng block, pairing an option code with its value.

Member Data Documentation

◆ option_id

unsigned wtap_option_t::option_id

Option code identifying the type of this option within its enclosing block type.

◆ value

wtap_optval_t wtap_option_t::value

Union holding the typed value of this option, interpreted according to the option's registered data type.


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