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 <[email protected]>
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
20extern uint32_t
21dtls_increment_stream_count(void);
22
23/* Shared with packet-tls-utils.c */
24
25int
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__ */
Definition packet_info.h:43
Definition proto.h:907
Definition packet.c:846
Definition tvbuff-int.h:35