| Wireshark 4.7.0 The Wireshark network protocol analyzer

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

Represents an instance of a per-packet parser for tvbuff data. More...

`#include <tvbparse.h>`

## Public Attributes
wmem_allocator_t * | scope
tvbuff_t * | tvb
int | offset
int | end_offset
void * | data
const tvbparse_wanted_t * | ignore
int | recursion_depth

## Detailed Description

Represents an instance of a per-packet parser for tvbuff data.

This structure encapsulates the state and context for parsing a single packet buffer using tvbparse rules. It tracks memory scope, parsing boundaries, recursion depth, and optional control data.

## Member Data Documentation

## ◆ data

void* _tvbparse_t::data

Optional user-defined parser context data.

## ◆ end_offset

int _tvbparse_t::end_offset

Parsing boundary (exclusive end offset).

## ◆ ignore

const tvbparse_wanted_t* _tvbparse_t::ignore

Optional rule to ignore during parsing.

## ◆ offset

int _tvbparse_t::offset

Current offset within the tvbuff.

## ◆ recursion_depth

int _tvbparse_t::recursion_depth

Current recursion depth for nested parsing.

## ◆ scope

wmem_allocator_t* _tvbparse_t::scope

Memory allocator used for parser allocations.

## ◆ tvb

tvbuff_t* _tvbparse_t::tvb

Pointer to the tvbuff being parsed.

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

- /builds/wireshark/wireshark/epan/tvbparse.h