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

Describes a registered option type, including its identity, human-readable metadata, data type, and behavioral flags. More...

#include <wtap_opttypes.h>

Public Attributes

const char * name
const char * description
wtap_opttype_e data_type
unsigned flags

Detailed Description

Describes a registered option type, including its identity, human-readable metadata, data type, and behavioral flags.

Member Data Documentation

◆ data_type

wtap_opttype_e wtap_opttype_t::data_type

Enumerated data type of this option's value, used to select the correct wtap_optval_t union member.

◆ description

const char* wtap_opttype_t::description

Human-readable description of this option type, suitable for display.

◆ flags

unsigned wtap_opttype_t::flags

Bitmask of option behavioral flags (e.g. whether multiple instances of this option are permitted).

◆ name

const char* wtap_opttype_t::name

Short programmatic name for this option type, used for lookup and identification.


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