Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Public Attributes | List of all members
_wslua_proto_t Struct Reference

Represents a Wireshark protocol registered from a Lua dissector script. More...

#include <wslua.h>

Public Attributes

char * name
 
char * loname
 
char * desc
 
int hfid
 
int ett
 
wslua_pref_t prefs
 
int fields
 
int expert_info_table_ref
 
expert_module_texpert_module
 
module_tprefs_module
 
dissector_handle_t handle
 
GArray * hfa
 
GArray * etta
 
GArray * eia
 
bool is_postdissector
 
bool expired
 

Detailed Description

Represents a Wireshark protocol registered from a Lua dissector script.

Member Data Documentation

◆ desc

char* _wslua_proto_t::desc

Human-readable description of the protocol shown in the protocol list.

◆ eia

GArray* _wslua_proto_t::eia

Array of ei_register_info entries for bulk expert info registration.

◆ ett

int _wslua_proto_t::ett

ett index for the protocol's top-level subtree.

◆ etta

GArray* _wslua_proto_t::etta

Array of ett index pointers for bulk subtree registration.

◆ expert_info_table_ref

int _wslua_proto_t::expert_info_table_ref

Lua registry reference to the table of registered ProtoExperts.

◆ expert_module

expert_module_t* _wslua_proto_t::expert_module

Expert info module registered for this protocol.

◆ expired

bool _wslua_proto_t::expired

True if this protocol object has been deregistered and is no longer valid.

◆ fields

int _wslua_proto_t::fields

Lua registry reference to the table of registered ProtoFields.

◆ handle

dissector_handle_t _wslua_proto_t::handle

Dissector handle registered for this protocol.

◆ hfa

GArray* _wslua_proto_t::hfa

Array of hf_register_info entries for bulk header field registration.

◆ hfid

int _wslua_proto_t::hfid

Header field ID for the top-level protocol item added to the tree.

◆ is_postdissector

bool _wslua_proto_t::is_postdissector

True if this protocol is registered as a post-dissector.

◆ loname

char* _wslua_proto_t::loname

Lowercase version of the protocol name used for filter abbreviations.

◆ name

char* _wslua_proto_t::name

Mixed-case protocol name used for display (e.g. "MyProto").

◆ prefs

wslua_pref_t _wslua_proto_t::prefs

Linked list of preferences registered by this protocol.

◆ prefs_module

module_t* _wslua_proto_t::prefs_module

Preferences module registered for this protocol.


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