wireshark/epan/dissectors/packet-dtls.h
John Thacker 36521f27b3 DTLS-SRTP: Set up SRTP and SRTCP sessions
Use the information in a use_srtp Extension in a Server Hello to
set up SRTP and SRTCP sessions according to RFC 5764. It is RECOMMENDED
that symmetric RTP be used with DTLS-SRTP, and RTP and RTCP traffic may
be multiplexed, so set up all four possible connections.

Fix #17905.
2022-01-26 14:50:59 +00:00

29 lines
750 B
C

/* packet-dtls.h
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef __PACKET_DTLS_H__
#define __PACKET_DTLS_H__
#include "ws_symbol_export.h"
#include <epan/packet.h>
WS_DLL_PUBLIC void dtls_dissector_add(guint port, dissector_handle_t handle);
WS_DLL_PUBLIC void dtls_dissector_delete(guint port, dissector_handle_t handle);
/* Shared with packet-tls-utils.c */
gint
dtls_dissect_hnd_hello_ext_use_srtp(packet_info *pinfo, tvbuff_t *tvb,
proto_tree *tree, guint32 offset,
guint32 ext_len, gboolean is_server);
#endif /* __PACKET_DTLS_H__ */