12#ifndef __RTD_TABLE_H__
13#define __RTD_TABLE_H__
27 uint32_t open_req_num;
28 uint32_t disc_rsp_num;
51typedef void (*rtd_gui_init_cb)(
rtd_stat_table* rtd,
void* gui_data);
52typedef void (*rtd_filter_check_cb)(
const char *opt_arg,
const char **filter,
char** err);
64WS_DLL_PUBLIC
void register_rtd_table(
const int proto_id,
const char* tap_listener,
unsigned num_tables,
unsigned num_timestats,
const value_string* vs_type,
65 tap_packet_cb rtd_packet_func, rtd_filter_check_cb filter_check_cb);
bool(* wmem_foreach_func)(const void *key, void *value, void *userdata)
Definition wmem_tree.h:247
struct _rtd_data_t rtd_data_t
WS_DLL_PUBLIC const value_string * get_rtd_value_string(register_rtd_t *rtd)
Definition rtd_table.c:52
struct _rtd_stat_table rtd_stat_table
WS_DLL_PUBLIC register_rtd_t * get_rtd_table_by_name(const char *name)
Definition rtd_table.c:106
WS_DLL_PUBLIC char * rtd_table_get_tap_string(register_rtd_t *rtd)
Definition rtd_table.c:111
WS_DLL_PUBLIC void free_rtd_table(rtd_stat_table *table)
Definition rtd_table.c:85
WS_DLL_PUBLIC void register_rtd_table(const int proto_id, const char *tap_listener, unsigned num_tables, unsigned num_timestats, const value_string *vs_type, tap_packet_cb rtd_packet_func, rtd_filter_check_cb filter_check_cb)
Definition rtd_table.c:60
WS_DLL_PUBLIC void rtd_table_iterate_tables(wmem_foreach_func func, void *user_data)
Definition rtd_table.c:156
WS_DLL_PUBLIC int get_rtd_proto_id(register_rtd_t *rtd)
Definition rtd_table.c:30
WS_DLL_PUBLIC void rtd_table_get_filter(register_rtd_t *rtd, const char *opt_arg, const char **filter, char **err)
Definition rtd_table.c:118
WS_DLL_PUBLIC void rtd_table_dissector_init(register_rtd_t *rtd, rtd_stat_table *table, rtd_gui_init_cb gui_callback, void *callback_data)
Definition rtd_table.c:139
WS_DLL_PUBLIC tap_packet_cb get_rtd_packet_func(register_rtd_t *rtd)
Definition rtd_table.c:43
WS_DLL_PUBLIC void reset_rtd_table(rtd_stat_table *table)
Definition rtd_table.c:98
WS_DLL_PUBLIC const char * get_rtd_tap_listener_name(register_rtd_t *rtd)
Definition rtd_table.c:38
WS_DLL_PUBLIC unsigned get_rtd_num_tables(register_rtd_t *rtd)
Definition rtd_table.c:48
Definition rtd_table.h:42
void * user_data
Definition rtd_table.h:44
rtd_stat_table stat_table
Definition rtd_table.h:43
Definition rtd_table.h:34
unsigned num_rtds
Definition rtd_table.h:36
Definition rtd_table.h:24
unsigned num_timestat
Definition rtd_table.h:25
Definition timestats.h:23
Definition value_string.h:25
Definition rtd_table.c:20