|
Wireshark 4.7.0
The Wireshark network protocol analyzer
|
Represents a single token matched by the tvbuff parser, forming part of a linked tree of parse results. More...
#include <tvbparse.h>
Public Attributes | |
| int | id |
| tvbparse_t * | parser |
| tvbuff_t * | tvb |
| int | offset |
| int | len |
| void * | data |
| struct _tvbparse_elem_t * | sub |
| struct _tvbparse_elem_t * | next |
| struct _tvbparse_elem_t * | last |
| const tvbparse_wanted_t * | wanted |
Represents a single token matched by the tvbuff parser, forming part of a linked tree of parse results.
| void* _tvbparse_elem_t::data |
Opaque user-defined data associated with this token by a callback.
| int _tvbparse_elem_t::id |
Identifier corresponding to the matched tvbparse_wanted_t rule that produced this token.
| struct _tvbparse_elem_t* _tvbparse_elem_t::last |
Pointer to the last sibling token in the sibling chain for efficient appending.
| int _tvbparse_elem_t::len |
Length in bytes of the matched token within the tvbuff.
| struct _tvbparse_elem_t* _tvbparse_elem_t::next |
Pointer to the next sibling token at the same level, or NULL if this is the last sibling.
| int _tvbparse_elem_t::offset |
Byte offset within the tvbuff at which this token begins.
| tvbparse_t* _tvbparse_elem_t::parser |
The parser instance that produced this token.
| struct _tvbparse_elem_t* _tvbparse_elem_t::sub |
Pointer to the first child token for composite matches, or NULL if this is a leaf token.
| tvbuff_t* _tvbparse_elem_t::tvb |
The tvbuff in which this token was matched.
| const tvbparse_wanted_t* _tvbparse_elem_t::wanted |
Pointer to the parse rule (wanted definition) that this token was matched against.