| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
packet-rtcp.h
1/* packet-rtcp.h
2 *
3 * Routines for RTCP dissection
4 * RTCP = Real-time Transport Control Protocol
5 *
6 * Copyright 2000, Philips Electronics N.V.
7 * Written by Andreas Sikkema <andreas.sikkema@philips.com>
8 *
9 * Wireshark - Network traffic analyzer
10 * By Gerald Combs <gerald@wireshark.org>
11 * Copyright 1998 Gerald Combs
12 *
13 * SPDX-License-Identifier: GPL-2.0-or-later
14 */
15
16#include "ws_symbol_export.h"
17
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
23{
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;
28
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;
34
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;
40
41 /* SRTCP context */
42 struct srtp_info *srtcp_info;
43};
44
45
46/* Add an RTCP conversation with the given details */
47WS_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);
52
53/* Add an SRTP conversation with the given details */
54WS_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);
_address
Definition address.h:58
_packet_info
Definition packet_info.h:43
_rtcp_conversation_info
Definition packet-rtcp.h:23
nstime_t
Definition nstime.h:26
srtp_info
Definition packet-rtp.h:96