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

Wraps a tvbuff_t with ownership and expiry tracking for use in the Lua scripting environment. More...

#include <wslua.h>

Public Attributes

tvbuff_t * ws_tvb
bool expired
bool need_free

Detailed Description

Wraps a tvbuff_t with ownership and expiry tracking for use in the Lua scripting environment.

Member Data Documentation

◆ expired

bool _wslua_tvb::expired

True if the tvbuff is no longer valid (e.g. the packet dissection has ended).

◆ need_free

bool _wslua_tvb::need_free

True if this wrapper owns the tvbuff and is responsible for freeing it.

◆ ws_tvb

tvbuff_t* _wslua_tvb::ws_tvb

The underlying tvbuff exposed to Lua.


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