aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rtcp.h
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2007-08-21 07:23:34 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2007-08-21 07:23:34 +0000
commit7b593acb18e8370a56a2d30010470eecff382713 (patch)
treebef3b83909fded855d75986e138f2eeeebd18367 /epan/dissectors/packet-rtcp.h
parent3d75f7a2a6e95ab607330906b6505d3ddb80befe (diff)
From Neil Piercy:
This patch set provides a an API for out of band signalling protocols to register flows as SRTP/SRTCP using extended versions of the existing rt(c)p_add_address functions. At present the encrypted portions of the payloads are simply skipped, and the auth tags etc added as fields. svn path=/trunk/; revision=22562
Diffstat (limited to 'epan/dissectors/packet-rtcp.h')
-rw-r--r--epan/dissectors/packet-rtcp.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/epan/dissectors/packet-rtcp.h b/epan/dissectors/packet-rtcp.h
index 646a21b565..89c9a13a5d 100644
--- a/epan/dissectors/packet-rtcp.h
+++ b/epan/dissectors/packet-rtcp.h
@@ -49,6 +49,9 @@ struct _rtcp_conversation_info
guint32 calculated_delay_used_frame;
gint calculated_delay_report_gap;
gint32 calculated_delay;
+
+ /* SRTCP context */
+ struct srtp_info *srtcp_info;
};
@@ -57,3 +60,10 @@ void rtcp_add_address(packet_info *pinfo,
address *addr, int port,
int other_port,
const gchar *setup_method, guint32 setup_frame_number);
+
+/* Add an SRTP conversation with the given details */
+void srtcp_add_address(packet_info *pinfo,
+ address *addr, int port,
+ int other_port,
+ const gchar *setup_method, guint32 setup_frame_number,
+ struct srtp_info *srtcp_info);