| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
Public Attributes | List of all members
epan_plugin Struct Reference

Plugin interface for EPAN modules. More...

`#include <epan.h>`

## Public Attributes
void(* | init )(void)
| Called before `proto_init()`.
void(* | post_init )(void)
| Called at the end of `epan_init()`.
void(* | dissect_init )(epan_dissect_t *)
| Called before each dissection begins.
void(* | dissect_cleanup )(epan_dissect_t *)
| Called after each dissection completes.
void(* | cleanup )(void)
| Called during EPAN shutdown.
void(* | register_all_protocols )(register_cb cb, void *user_data)
| Register all protocols with the core.
void(* | register_all_handoffs )(register_cb cb, void *user_data)
| Register all protocol handoffs.
void(* | register_all_tap_listeners )(void)
| Register all tap listeners.

## Detailed Description

Plugin interface for EPAN modules.

Defines the lifecycle and registration hooks for EPAN plugins. Each function pointer corresponds to a specific initialization or registration phase.

## Member Data Documentation

## ◆ register_all_handoffs

void(* epan_plugin::register_all_handoffs) (register_cb cb, void *user_data)

Register all protocol handoffs.

Parameters

  cb | Callback used for registration.
  user_data | Optional user data passed to the callback.

## ◆ register_all_protocols

void(* epan_plugin::register_all_protocols) (register_cb cb, void *user_data)

Register all protocols with the core.

Parameters

  cb | Callback used for registration.
  user_data | Optional user data passed to the callback.

The documentation for this struct was generated from the following file:

- /builds/wireshark/wireshark/epan/epan.h