| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
Public Attributes | List of all members
_wslua_tap Struct Reference

Represents a Lua tap listener, binding a tap name and filter to Lua callback functions. More...

`#include <wslua.h>`

## Public Attributes
char * | name
char * | filter
tap_extractor_t | extractor
lua_State * | L
int | packet_ref
int | draw_ref
int | reset_ref
bool | all_fields

## Detailed Description

Represents a Lua tap listener, binding a tap name and filter to Lua callback functions.

## Member Data Documentation

## ◆ all_fields

bool _wslua_tap::all_fields

True if all header fields should be made available during the tap callback.

## ◆ draw_ref

int _wslua_tap::draw_ref

Lua registry reference to the draw/update callback function.

## ◆ extractor

tap_extractor_t _wslua_tap::extractor

Callback that extracts tap-specific data into the Lua state before invoking callbacks.

## ◆ filter

char* _wslua_tap::filter

Optional display filter string restricting which packets trigger this tap.

## ◆ L

lua_State* _wslua_tap::L

The Lua state in which the tap callback functions are registered.

## ◆ name

char* _wslua_tap::name

Name of the tap this listener is registered on.

## ◆ packet_ref

int _wslua_tap::packet_ref

Lua registry reference to the per-packet callback function.

## ◆ reset_ref

int _wslua_tap::reset_ref

Lua registry reference to the reset callback function.

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

- /builds/wireshark/wireshark/epan/wslua/wslua.h