Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-rtcp.h
blob934b4894a69a8f4c1b3582bee33cfa0b843fcaa6
1 /* packet-rtcp.h
3 * Routines for RTCP dissection
4 * RTCP = Real-time Transport Control Protocol
6 * Copyright 2000, Philips Electronics N.V.
7 * Written by Andreas Sikkema <andreas.sikkema@philips.com>
9 * Wireshark - Network traffic analyzer
10 * By Gerald Combs <gerald@wireshark.org>
11 * Copyright 1998 Gerald Combs
13 * SPDX-License-Identifier: GPL-2.0-or-later
16 #include "ws_symbol_export.h"
18 /* Info to save in RTCP conversation / packet-info.
19 Note that this structure applies to the destination end of
20 an RTP session */
21 #define MAX_RTCP_SETUP_METHOD_SIZE 10
22 struct _rtcp_conversation_info
24 /* Setup info is relevant to traffic whose dest is the conversation address */
25 unsigned char setup_method_set;
26 char setup_method[MAX_RTCP_SETUP_METHOD_SIZE + 1];
27 uint32_t setup_frame_number;
29 /* Info used for roundtrip calculations */
30 unsigned char last_received_set;
31 uint32_t last_received_frame_number;
32 nstime_t last_received_timestamp;
33 uint32_t last_received_ts;
35 /* Stored result of calculation */
36 unsigned char lsr_matched;
37 uint32_t calculated_delay_used_frame;
38 int calculated_delay_report_gap;
39 int32_t calculated_delay;
41 /* SRTCP context */
42 struct srtp_info *srtcp_info;
46 /* Add an RTCP conversation with the given details */
47 WS_DLL_PUBLIC
48 void rtcp_add_address(packet_info *pinfo,
49 address *addr, int port,
50 int other_port,
51 const char *setup_method, uint32_t setup_frame_number);
53 /* Add an SRTP conversation with the given details */
54 WS_DLL_PUBLIC
55 void srtcp_add_address(packet_info *pinfo,
56 address *addr, int port,
57 int other_port,
58 const char *setup_method, uint32_t setup_frame_number,
59 struct srtp_info *srtcp_info);