2 * RTP streams handler functions used by tshark and wireshark
4 * Copyright 2008, Ericsson AB
5 * By Balint Reczey <balint.reczey@ericsson.com>
7 * most functions are copied from ui/gtk/rtp_stream.c and ui/gtk/rtp_analisys.c
8 * Copyright 2003, Alcatel Business Systems
9 * By Lars Ruoff <lars.ruoff@gmx.net>
11 * Wireshark - Network traffic analyzer
12 * By Gerald Combs <gerald@wireshark.org>
13 * Copyright 1998 Gerald Combs
15 * SPDX-License-Identifier: GPL-2.0-or-later
18 #ifndef __TAP_RTP_COMMON_H__
19 #define __TAP_RTP_COMMON_H__
23 #endif /* __cplusplus */
25 /* type of error when saving voice in a file didn't succeed */
29 TAP_RTP_PADDING_ERROR,
31 TAP_RTP_FILE_OPEN_ERROR,
32 TAP_RTP_FILE_WRITE_ERROR,
36 typedef struct _tap_rtp_save_info_t {
39 error_type_t error_type;
41 } tap_rtp_save_info_t;
43 struct _rtp_stream_info;
45 void rtpstream_reset_cb(void*);
46 void rtp_write_header(struct _rtp_stream_info*, FILE*);
47 int rtpstream_packet(void*, packet_info*, epan_dissect_t *, const void *);
51 #endif /* __cplusplus */
53 #endif /* __TAP_RTP_COMMON_H__ */
56 * Editor modelines - https://www.wireshark.org/tools/modelines.html
61 * indent-tabs-mode: nil
64 * ex: set shiftwidth=4 tabstop=8 expandtab:
65 * :indentSize=4:tabSize=8:noTabs=true: