20 #include <epan/epan.h> 21 #include <epan/packet.h> 22 #include <epan/ipv6.h> 23 #include <epan/wmem/wmem.h> 24 #include "ws_symbol_export.h" 74 typedef gboolean (*follow_print_line_func)(
char *, size_t, gboolean,
void *);
75 typedef frs_return_t (*follow_read_stream_func)(
struct _follow_info *follow_info, follow_print_line_func follow_print,
void *arg);
85 show_stream_t show_stream;
86 char *filter_out_filter;
88 guint bytes_written[2];
102 typedef gchar* (*follow_index_filter_func)(
int stream);
103 typedef gchar* (*follow_address_filter_func)(
address* src_addr,
address* dst_addr,
int src_port,
int dst_port);
104 typedef gchar* (*follow_port_to_display_func)(
wmem_allocator_t *allocator, guint port);
108 void register_follow_stream(
const int proto_id,
const char* tap_listener,
109 follow_conv_filter_func conv_filter, follow_index_filter_func index_filter, follow_address_filter_func address_filter,
110 follow_port_to_display_func port_to_display, follow_tap_func tap_handler);
117 WS_DLL_PUBLIC
int get_follow_proto_id(register_follow_t* follower);
124 WS_DLL_PUBLIC
const char* get_follow_tap_string(register_follow_t* follower);
131 WS_DLL_PUBLIC register_follow_t* get_follow_by_name(
const char* proto_short_name);
138 WS_DLL_PUBLIC follow_conv_filter_func get_follow_conv_func(register_follow_t* follower);
145 WS_DLL_PUBLIC follow_index_filter_func get_follow_index_func(register_follow_t* follower);
152 WS_DLL_PUBLIC follow_address_filter_func get_follow_address_func(register_follow_t* follower);
159 WS_DLL_PUBLIC follow_port_to_display_func get_follow_port_to_display(register_follow_t* follower);
166 WS_DLL_PUBLIC follow_tap_func get_follow_tap_handler(register_follow_t* follower);
172 WS_DLL_PUBLIC gboolean
180 WS_DLL_PUBLIC
void follow_iterate_followers(
wmem_foreach_func func, gpointer user_data);
188 WS_DLL_PUBLIC gchar* follow_get_stat_tap_string(register_follow_t* follower);
201 WS_DLL_PUBLIC
void follow_info_free(
follow_info_t* follow_info);
Definition: inet_ipv6.h:20
Definition: packet_info.h:44
gboolean(* wmem_foreach_func)(const void *key, void *value, void *userdata)
Definition: wmem_tree.h:213
Definition: file-pcapng.c:177
Definition: wmem_allocator.h:26
Definition: epan_dissect.h:28