aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dtls.h
diff options
context:
space:
mode:
authorJohn Thacker <johnthacker@gmail.com>2022-01-25 23:14:24 -0500
committerA Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2022-01-26 14:50:59 +0000
commit36521f27b384b13cc1359c5c16d10e3ed1094b60 (patch)
tree1d9ec6c8814c2d06e0d8c0cb8ee1ae159e6a4060 /epan/dissectors/packet-dtls.h
parentac164db3ac993dfd2e896c734a6919b6054cb20e (diff)
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.
Diffstat (limited to 'epan/dissectors/packet-dtls.h')
-rw-r--r--epan/dissectors/packet-dtls.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/epan/dissectors/packet-dtls.h b/epan/dissectors/packet-dtls.h
index 8e07a3bbba..1351282b04 100644
--- a/epan/dissectors/packet-dtls.h
+++ b/epan/dissectors/packet-dtls.h
@@ -21,7 +21,8 @@ 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(tvbuff_t *tvb, proto_tree *tree,
- guint32 offset, guint32 ext_len);
+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__ */