Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Classes | Typedefs | Functions
capture_dissectors.h File Reference
#include "ws_symbol_export.h"
#include <wiretap/wtap.h>

Go to the source code of this file.

Classes

struct  packet_counts
 
struct  _capture_packet_info
 

Typedefs

typedef struct _capture_packet_info capture_packet_info_t
 
typedef struct capture_dissector_handlecapture_dissector_handle_t
 
typedef bool(* capture_dissector_t) (const uint8_t *pd, int offset, int len, capture_packet_info_t *cpinfo, const union wtap_pseudo_header *pseudo_header)
 

Functions

WS_DLL_PUBLIC void register_capture_dissector_table (const char *name, const char *ui_name)
 
WS_DLL_PUBLIC capture_dissector_handle_t create_capture_dissector_handle (capture_dissector_t dissector, const int proto)
 
WS_DLL_PUBLIC capture_dissector_handle_t find_capture_dissector (const char *name)
 
WS_DLL_PUBLIC capture_dissector_handle_t register_capture_dissector (const char *name, capture_dissector_t dissector, int proto)
 
WS_DLL_PUBLIC void capture_dissector_add_uint (const char *name, const uint32_t pattern, capture_dissector_handle_t handle)
 
WS_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)
 
WS_DLL_PUBLIC bool call_capture_dissector (capture_dissector_handle_t handle, const uint8_t *pd, int offset, int len, capture_packet_info_t *cpinfo, const union wtap_pseudo_header *pseudo_header)
 
WS_DLL_PUBLIC uint64_t capture_dissector_get_count (packet_counts *counts, const int proto)
 
WS_DLL_PUBLIC void capture_dissector_increment_count (capture_packet_info_t *cpinfo, const int proto)
 
void capture_dissector_init (void)
 
void capture_dissector_cleanup (void)
 

Typedef Documentation

◆ capture_dissector_t

typedef bool(* capture_dissector_t) (const uint8_t *pd, int offset, int len, capture_packet_info_t *cpinfo, const union wtap_pseudo_header *pseudo_header)

callback function definition for capture dissectors