18#include "ws_symbol_export.h"
31#define NTVB_PORT NTVB_UINT
WS_DLL_PUBLIC next_tvb_list_t * next_tvb_list_new(wmem_allocator_t *pool)
Create a new list for managing TVB items.
Definition next_tvb.c:19
WS_DLL_PUBLIC void next_tvb_add_uint(next_tvb_list_t *list, tvbuff_t *tvb, proto_tree *tree, dissector_table_t table, uint32_t uint_val)
Adds a uint value to the list.
Definition next_tvb.c:46
next_tvb_call_e
Discriminator indicating how a queued subdissector is to be invoked.
Definition next_tvb.h:24
@ NTVB_UINT
Definition next_tvb.h:26
@ NTVB_STRING
Definition next_tvb.h:27
@ NTVB_HANDLE
Definition next_tvb.h:25
struct next_tvb_item next_tvb_item_t
A single queued subdissector call, forming a node in a next_tvb_list_t.
WS_DLL_PUBLIC void next_tvb_add_string(next_tvb_list_t *list, tvbuff_t *tvb, proto_tree *tree, dissector_table_t table, const char *string)
Adds a string to the list.
Definition next_tvb.c:68
WS_DLL_PUBLIC void next_tvb_add_handle(next_tvb_list_t *list, tvbuff_t *tvb, proto_tree *tree, dissector_handle_t handle)
Adds a dissector handle to the list.
Definition next_tvb.c:25
WS_DLL_PUBLIC void next_tvb_call(next_tvb_list_t *list, packet_info *pinfo, proto_tree *tree, dissector_handle_t handle, dissector_handle_t data_handle)
Calls the dissector for each item in the list.
Definition next_tvb.c:90
Represents the metadata and indexing information for a single captured frame.
Definition packet_info.h:43
Internal memory allocator interface used by the wmem subsystem.
Definition wmem_allocator.h:34
A single queued subdissector call, forming a node in a next_tvb_list_t.
Definition next_tvb.h:36
tvbuff_t * tvb
Definition next_tvb.h:44
struct next_tvb_item * previous
Definition next_tvb.h:38
struct next_tvb_item * next
Definition next_tvb.h:37
proto_tree * tree
Definition next_tvb.h:45
next_tvb_call_e type
Definition next_tvb.h:39
const char * string
Definition next_tvb.h:43
dissector_handle_t handle
Definition next_tvb.h:40
uint32_t uint_val
Definition next_tvb.h:42
dissector_table_t table
Definition next_tvb.h:41
A doubly-linked list of queued subdissector calls with a shared memory pool.
Definition next_tvb.h:51
wmem_allocator_t * pool
Definition next_tvb.h:54
next_tvb_item_t * last
Definition next_tvb.h:53
next_tvb_item_t * first
Definition next_tvb.h:52
int count
Definition next_tvb.h:55
Core tvbuff (testy virtual buffer) structure representing a region of packet data,...
Definition tvbuff-int.h:95