16#include "ws_symbol_export.h"
31typedef unsigned tap_flags_t;
33typedef void (*tap_reset_cb)(
void *tapdata);
35typedef void (*tap_draw_cb)(
void *tapdata);
36typedef void (*tap_finish_cb)(
void *tapdata);
41#define TL_REQUIRES_NOTHING 0x00000000
42#define TL_REQUIRES_PROTO_TREE 0x00000001
43#define TL_REQUIRES_COLUMNS 0x00000002
44#define TL_REQUIRES_ERROR_PACKETS 0x00000004
45#define TL_REQUIRES_PROTOCOLS 0x00000020
59#define TL_IS_DISSECTOR_HELPER 0x00000008
63#define TL_IGNORE_DISPLAY_FILTER 0x00000010
64#define TL_DISPLAY_FILTER_IGNORED 0x00100000
67#define TL_IP_AGGREGATION_NULL 0x00000100
68#define TL_IP_AGGREGATION_ORI 0x00000200
69#define TL_IP_AGGREGATION_RESERVED 0x00000400
83 void (*cb_func)(void);
94WS_DLL_PUBLIC
void register_all_tap_listeners(
tap_reg_t const *tap_reg_listeners);
96extern void tap_init(
void);
113WS_DLL_PUBLIC GList* get_tap_names(
void);
249 const char *fstring,
unsigned flags, tap_reset_cb tap_reset,
250 tap_packet_cb tap_packet, tap_draw_cb tap_draw,
251 tap_finish_cb tap_finish) G_GNUC_WARN_UNUSED_RESULT;
254WS_DLL_PUBLIC GString *
set_tap_dfilter(
void *tapdata,
const char *fstring);
263WS_DLL_PUBLIC GString *
set_tap_flags(
void *tapdata,
unsigned flags);
Definition packet_info.h:43
Definition epan_dissect.h:28
WS_DLL_PUBLIC void tap_listeners_dfilter_recompile(void)
Definition tap.c:680
WS_DLL_PUBLIC void reset_tap_listeners(void)
Definition tap.c:442
void tap_queue_init(epan_dissect_t *edt)
Definition tap.c:293
WS_DLL_PUBLIC const void * fetch_tapped_data(int tap_id, int idx)
Definition tap.c:410
WS_DLL_PUBLIC bool tap_listeners_require_columns(void)
Definition tap.c:758
WS_DLL_PUBLIC unsigned union_of_tap_listener_flags(void)
Definition tap.c:824
WS_DLL_PUBLIC int register_tap(const char *name)
Definition tap.c:177
WS_DLL_PUBLIC bool tap_listeners_require_dissection(void)
Definition tap.c:738
WS_DLL_PUBLIC void tap_build_interesting(epan_dissect_t *edt)
Definition tap.c:263
WS_DLL_PUBLIC GString * set_tap_dfilter(void *tapdata, const char *fstring)
Definition tap.c:600
WS_DLL_PUBLIC bool have_filtering_tap_listeners(void)
Definition tap.c:796
WS_DLL_PUBLIC bool have_tap_listener(int tap_id)
Definition tap.c:778
WS_DLL_PUBLIC GString * register_tap_listener(const char *tapname, void *tapdata, const char *fstring, unsigned flags, tap_reset_cb tap_reset, tap_packet_cb tap_packet, tap_draw_cb tap_draw, tap_finish_cb tap_finish) G_GNUC_WARN_UNUSED_RESULT
Definition tap.c:543
WS_DLL_PUBLIC GString * set_tap_flags(void *tapdata, unsigned flags)
Definition tap.c:649
WS_DLL_PUBLIC void tap_register_plugin(const tap_plugin *plug)
WS_DLL_PUBLIC void draw_tap_listeners(bool draw_all)
Definition tap.c:465
WS_DLL_PUBLIC void remove_tap_listener(void *tapdata)
Definition tap.c:705
void tap_cleanup(void)
Definition tap.c:835
void tap_push_tapped_queue(epan_dissect_t *edt)
Definition tap.c:311
WS_DLL_PUBLIC void tap_queue_packet(int tap_id, packet_info *pinfo, const void *tap_specific_data)
Definition tap.c:229
tap_packet_status
Definition tap.h:25
@ TAP_PACKET_REDRAW
Definition tap.h:27
@ TAP_PACKET_FAILED
Definition tap.h:28
@ TAP_PACKET_DONT_REDRAW
Definition tap.h:26
WS_DLL_PUBLIC int find_tap_id(const char *name)
Definition tap.c:506
WS_DLL_PUBLIC void tap_listeners_load_field_references(epan_dissect_t *edt)
Definition tap.c:808