| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
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
17WS_DLL_PUBLIC void dtls_dissector_add(unsigned port, dissector_handle_t handle);
18WS_DLL_PUBLIC void dtls_dissector_delete(unsigned port, dissector_handle_t handle);
19
20 extern uint32_t
21dtls_increment_stream_count(void);
22
23/* Shared with packet-tls-utils.c */
24
25 int
26dtls_dissect_hnd_hello_ext_use_srtp(packet_info *pinfo, tvbuff_t *tvb,
27 proto_tree *tree, uint32_t offset,
28 uint32_t ext_len, bool is_server);
29
30#endif /* __PACKET_DTLS_H__ */
packet.h
_packet_info
Definition packet_info.h:43
_proto_node
Definition proto.h:905
dissector_handle
Definition packet.c:852
tvbuff
Definition tvbuff-int.h:36