Wireshark 4.5.0
The Wireshark network protocol analyzer
|
Go to the source code of this file.
Classes | |
struct | _tvbparse_wanted_t |
struct | _tvbparse_t |
struct | _tvbparse_elem_t |
Macros | |
#define | tvbparse_one_or_more(id, private_data, before_cb, after_cb, wanted) tvbparse_some(id, 1, INT_MAX, private_data, before_cb, after_cb, wanted) |
Typedefs | |
typedef struct _tvbparse_elem_t | tvbparse_elem_t |
typedef struct _tvbparse_wanted_t | tvbparse_wanted_t |
typedef struct _tvbparse_t | tvbparse_t |
typedef void(* | tvbparse_action_t) (void *tvbparse_data, const void *wanted_data, struct _tvbparse_elem_t *elem) |
typedef int(* | tvbparse_condition_t) (tvbparse_t *, const int, const tvbparse_wanted_t *, tvbparse_elem_t **) |
Enumerations | |
enum | until_mode_t { TP_UNTIL_INCLUDE , TP_UNTIL_SPEND , TP_UNTIL_LEAVE } |
Functions | |
WS_DLL_PUBLIC tvbparse_wanted_t * | tvbparse_char (const int id, const char *needles, const void *private_data, tvbparse_action_t before_cb, tvbparse_action_t after_cb) |
WS_DLL_PUBLIC tvbparse_wanted_t * | tvbparse_not_char (const int id, const char *needle, const void *private_data, tvbparse_action_t before_cb, tvbparse_action_t after_cb) |
WS_DLL_PUBLIC tvbparse_wanted_t * | tvbparse_chars (const int id, const unsigned min_len, const unsigned max_len, const char *needles, const void *private_data, tvbparse_action_t before_cb, tvbparse_action_t after_cb) |
WS_DLL_PUBLIC tvbparse_wanted_t * | tvbparse_not_chars (const int id, const unsigned min_len, const unsigned max_len, const char *needles, const void *private_data, tvbparse_action_t before_cb, tvbparse_action_t after_cb) |
WS_DLL_PUBLIC tvbparse_wanted_t * | tvbparse_string (const int id, const char *string, const void *private_data, tvbparse_action_t before_cb, tvbparse_action_t after_cb) |
WS_DLL_PUBLIC tvbparse_wanted_t * | tvbparse_casestring (const int id, const char *str, const void *data, tvbparse_action_t before_cb, tvbparse_action_t after_cb) |
WS_DLL_PUBLIC tvbparse_wanted_t * | tvbparse_until (const int id, const void *private_data, tvbparse_action_t before_cb, tvbparse_action_t after_cb, const tvbparse_wanted_t *ending, until_mode_t until_mode) |
WS_DLL_PUBLIC tvbparse_wanted_t * | tvbparse_set_oneof (const int id, const void *private_data, tvbparse_action_t before_cb, tvbparse_action_t after_cb,...) |
WS_DLL_PUBLIC tvbparse_wanted_t * | tvbparse_hashed (const int id, const void *data, tvbparse_action_t before_cb, tvbparse_action_t after_cb, tvbparse_wanted_t *key, tvbparse_wanted_t *other,...) |
WS_DLL_PUBLIC void | tvbparse_hashed_add (tvbparse_wanted_t *w,...) |
WS_DLL_PUBLIC tvbparse_wanted_t * | tvbparse_set_seq (const int id, const void *private_data, tvbparse_action_t before_cb, tvbparse_action_t after_cb,...) |
WS_DLL_PUBLIC tvbparse_wanted_t * | tvbparse_some (const int id, const unsigned min, const unsigned max, const void *private_data, tvbparse_action_t before_cb, tvbparse_action_t after_cb, const tvbparse_wanted_t *wanted) |
WS_DLL_PUBLIC tvbparse_wanted_t * | tvbparse_handle (tvbparse_wanted_t **handle) |
WS_DLL_PUBLIC tvbparse_wanted_t * | tvbparse_quoted (const int id, const void *data, tvbparse_action_t before_cb, tvbparse_action_t after_cb, const char quote, const char escape) |
WS_DLL_PUBLIC void | tvbparse_shrink_token_cb (void *tvbparse_data, const void *wanted_data, tvbparse_elem_t *tok) |
WS_DLL_PUBLIC tvbparse_t * | tvbparse_init (wmem_allocator_t *scope, tvbuff_t *tvb, const int offset, int len, void *private_data, const tvbparse_wanted_t *ignore) |
WS_DLL_PUBLIC bool | tvbparse_reset (tvbparse_t *tt, const int offset, int len) |
WS_DLL_PUBLIC unsigned | tvbparse_curr_offset (tvbparse_t *tt) |
unsigned | tvbparse_len_left (tvbparse_t *tt) |
WS_DLL_PUBLIC bool | tvbparse_peek (tvbparse_t *tt, const tvbparse_wanted_t *wanted) |
WS_DLL_PUBLIC tvbparse_elem_t * | tvbparse_get (tvbparse_t *tt, const tvbparse_wanted_t *wanted) |
WS_DLL_PUBLIC tvbparse_elem_t * | tvbparse_find (tvbparse_t *tt, const tvbparse_wanted_t *wanted) |
WS_DLL_PUBLIC void | tvbparse_tree_add_elem (proto_tree *tree, tvbparse_elem_t *curr) |
an API for text tvb parsers
Copyright 2005, Luis E. Garcia Ontanon luis@.nosp@m.onta.nosp@m.non.o.nosp@m.rg
Wireshark - Network traffic analyzer By Gerald Combs geral.nosp@m.d@wi.nosp@m.resha.nosp@m.rk.o.nosp@m.rg Copyright 1998 Gerald Combs
SPDX-License-Identifier: GPL-2.0-or-later