| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Enumerations | Functions
rtp_stream.h File Reference
`#include <glib.h>`
`#include "tap-rtp-analysis.h"`
`#include <stdio.h>`
`#include "cfile.h"`
`#include <epan/address.h>`
`#include <epan/tap.h>`
`#include "ui/rtp_stream_id.h"`

Go to the source code of this file.

## Classes
struct | _rtpstream_info
struct | _rtpstream_tapinfo

## Macros
#define | RTP_STREAM_DEBUG(...)
#define | MAX_SILENCE_FRAMES 14400000

## Typedefs
typedef struct _rtpstream_info | rtpstream_info_t
typedef struct _rtpstream_tapinfo | rtpstream_tapinfo_t
typedef void(* | rtpstream_tap_reset_cb) (rtpstream_tapinfo_t *tapinfo)
typedef void(* | rtpstream_tap_draw_cb) (rtpstream_tapinfo_t *tapinfo)
typedef void(* | tap_mark_packet_cb) (rtpstream_tapinfo_t *tapinfo, frame_data *fd)
typedef void(* | rtpstream_tap_error_cb) (GString *error_string)

## Enumerations
enum | tap_mode_t { TAP_ANALYSE , TAP_SAVE , TAP_MARK }

## Functions
void | show_tap_registration_error (GString *error_string)
void | rtpstream_scan (rtpstream_tapinfo_t *tapinfo, capture_file *cap_file, const char *fstring)
bool | rtpstream_save (rtpstream_tapinfo_t *tapinfo, capture_file *cap_file, rtpstream_info_t *stream, const char *filename)
void | rtpstream_mark (rtpstream_tapinfo_t *tapinfo, capture_file *cap_file, rtpstream_info_t *stream_fwd, rtpstream_info_t *stream_rev)
void | rtpstream_set_apply_display_filter (rtpstream_tapinfo_t *tapinfo, bool apply)

## Detailed Description

RTP streams summary addition for Wireshark

Copyright 2003, Alcatel Business Systems By Lars Ruoff lars..nosp@m.ruof.nosp@m.f@gmx.nosp@m..net

Wireshark - Network traffic analyzer By Gerald Combs geral.nosp@m.d@wi.nosp@m.resha.nosp@m.rk.o.nosp@m.rg Copyright 1998 Gerald Combs

SPDX-License-Identifier: GPL-2.0-or-later

"RTP Streams" dialog box common routines.

## Typedef Documentation

## ◆ rtpstream_info_t

typedef struct _rtpstream_info rtpstream_info_t

Defines an rtp stream

## Enumeration Type Documentation

## ◆ tap_mode_t

enum tap_mode_t

tapping modes

## Function Documentation

## ◆ rtpstream_mark()

void rtpstream_mark | ( | rtpstream_tapinfo_t * | tapinfo,
|  | capture_file * | cap_file,
|  | rtpstream_info_t * | stream_fwd,
|  | rtpstream_info_t * | stream_rev
| ) |  |

Marks all packets belonging to either of stream_fwd or stream_rev. (both can be NULL) (redissects all packets)

## ◆ rtpstream_save()

bool rtpstream_save | ( | rtpstream_tapinfo_t * | tapinfo,
|  | capture_file * | cap_file,
|  | rtpstream_info_t * | stream,
|  | const char * | filename
| ) |  |

Saves an RTP stream as raw data stream with timestamp information for later RTP playback. (redissects all packets)

## ◆ rtpstream_scan()

void rtpstream_scan | ( | rtpstream_tapinfo_t * | tapinfo,
|  | capture_file * | cap_file,
|  | const char * | fstring
| ) |  |

Scans all packets for RTP streams and updates the RTP streams list. (redissects all packets)

## ◆ rtpstream_set_apply_display_filter()

void rtpstream_set_apply_display_filter | ( | rtpstream_tapinfo_t * | tapinfo,
|  | bool | apply
| ) |  |

Sets whether only packets that pass the current main display filter should be scanned for RTP streams.