11 #ifndef __CAPTURE_DISSECTORS_H__
12 #define __CAPTURE_DISSECTORS_H__
14 #include "ws_symbol_export.h"
26 GHashTable* counts_hash;
44 WS_DLL_PUBLIC
void register_capture_dissector_table(
const char *name,
const char *ui_name);
85 WS_DLL_PUBLIC gboolean try_capture_dissector(
const char* name,
const guint32 pattern,
const guint8 *pd,
int offset,
int len,
capture_packet_info_t *cpinfo,
const union wtap_pseudo_header *pseudo_header);
103 WS_DLL_PUBLIC guint32 capture_dissector_get_count(
packet_counts* counts,
const int proto);
109 WS_DLL_PUBLIC
void capture_dissector_increment_count(
capture_packet_info_t *cpinfo,
const int proto);
111 extern void capture_dissector_init(
void);
112 extern void capture_dissector_cleanup(
void);
bool(* capture_dissector_t)(const guint8 *pd, int offset, int len, capture_packet_info_t *cpinfo, const union wtap_pseudo_header *pseudo_header)
Definition: capture_dissectors.h:38
Definition: capture_dissectors.h:31
Definition: capture_dissectors.c:30
Definition: capture_dissectors.h:25