11#ifndef __CAPTURE_DISSECTORS_H__
12#define __CAPTURE_DISSECTORS_H__
14#include "ws_symbol_export.h"
26 GHashTable* counts_hash;
44WS_DLL_PUBLIC
void register_capture_dissector_table(
const char *name,
const char *ui_name);
85WS_DLL_PUBLIC
bool try_capture_dissector(
const char* name,
const uint32_t pattern,
const uint8_t *pd,
int offset,
int len,
capture_packet_info_t *cpinfo,
const union wtap_pseudo_header *pseudo_header);
103WS_DLL_PUBLIC uint64_t capture_dissector_get_count(
packet_counts* counts,
const int proto);
111extern void capture_dissector_init(
void);
112extern void capture_dissector_cleanup(
void);
bool(* capture_dissector_t)(const uint8_t *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