Wireshark  4.3.0
The Wireshark network protocol analyzer
packet-dtls.h
1 /* packet-dtls.h
2  *
3  * Wireshark - Network traffic analyzer
4  * By Gerald Combs <gerald@wireshark.org>
5  * Copyright 1998 Gerald Combs
6  *
7  *
8  * SPDX-License-Identifier: GPL-2.0-or-later
9  */
10 
11 #ifndef __PACKET_DTLS_H__
12 #define __PACKET_DTLS_H__
13 
14 #include "ws_symbol_export.h"
15 #include <epan/packet.h>
16 
17 WS_DLL_PUBLIC void dtls_dissector_add(guint port, dissector_handle_t handle);
18 WS_DLL_PUBLIC void dtls_dissector_delete(guint port, dissector_handle_t handle);
19 
20 
21 /* Shared with packet-tls-utils.c */
22 
23 gint
24 dtls_dissect_hnd_hello_ext_use_srtp(packet_info *pinfo, tvbuff_t *tvb,
25  proto_tree *tree, guint32 offset,
26  guint32 ext_len, gboolean is_server);
27 
28 #endif /* __PACKET_DTLS_H__ */
Definition: packet_info.h:44
Definition: proto.h:904
Definition: packet.c:763
Definition: tvbuff-int.h:35