Wireshark 4.5.0
The Wireshark network protocol analyzer
|
#include "register.h"
Go to the source code of this file.
Functions | |
void | register_all_protocols (register_cb cb, void *client_data) |
void | register_all_protocol_handoffs (register_cb cb, void *client_data) |
unsigned long | register_count (void) |
Definitions for protocol registration
Wireshark - Network traffic analyzer By Gerald Combs geral.nosp@m.d@wi.nosp@m.resha.nosp@m.rk.o.nosp@m.rg Copyright 1998 Gerald Combs
SPDX-License-Identifier: GPL-2.0-or-later
void register_all_protocol_handoffs | ( | register_cb | cb, |
void * | client_data | ||
) |
Call each dissector's protocol handoff routine.
Each routine is called from a worker thread. Registration routines might call any number of routines which are not thread safe, such as wmem_alloc. Callbacks should handle themselves accordingly.
cb | Callback routine which is called for each protocol. Messages have the format "proto_reg_handoff_XXX". |
client_data | Data pointer for the callback. |
void register_all_protocols | ( | register_cb | cb, |
void * | client_data | ||
) |
Call each dissector's protocol registration routine.
Each routine is called in alphabetical order from a worker thread. Registration routines might call any number of routines which are not thread safe, such as wmem_alloc. Callbacks should handle themselves accordingly.
cb | Callback routine which is called for each protocol. Messages have the format "proto_register_XXX". |
client_data | Data pointer for the callback. |