diff options
author | Anders Broman <anders.broman@ericsson.com> | 2004-06-15 18:26:08 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2004-06-15 18:26:08 +0000 |
commit | de103d9affd5afee5d9bbfa437993ec0ef764410 (patch) | |
tree | 625317eb8476156804fe183504e739ccd581fb63 /packet-rtcp.h | |
parent | 33cb6ac10a9c3d3314aabb4119f1147543477154 (diff) |
From Thomas Anders: Navigating from RTP/RTCP packets to setup where it was set up
svn path=/trunk/; revision=11154
Diffstat (limited to 'packet-rtcp.h')
-rw-r--r-- | packet-rtcp.h | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/packet-rtcp.h b/packet-rtcp.h index f596ba4fc2..1e8b217cda 100644 --- a/packet-rtcp.h +++ b/packet-rtcp.h @@ -1,6 +1,6 @@ /* packet-rtcp.h * - * $Id: packet-rtcp.h,v 1.8 2002/08/28 21:00:30 jmayer Exp $ + * $Id: packet-rtcp.h,v 1.9 2004/06/15 18:26:08 etxrab Exp $ * * Routines for RTCP dissection * RTCP = Real-time Transport Control Protocol @@ -27,5 +27,18 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -void rtcp_add_address ( packet_info *pinfo, const unsigned char* ip_addr, int prt ); -void proto_register_rtcp( void ); +/* Info to save in RTCP conversation / packet-info */ +#define MAX_RTCP_SETUP_METHOD_SIZE 8 +struct _rtcp_conversation_info +{ + gchar method[MAX_RTCP_SETUP_METHOD_SIZE]; + guint32 frame_number; +}; + + +/* Add an RTCP conversation with the given details */ +void rtcp_add_address(packet_info *pinfo, + const unsigned char* ip_addr, int port, + int other_port, + gchar *setup_method, guint32 setup_frame_number); + |