Wireshark 4.5.0
The Wireshark network protocol analyzer
|
#include <epan/address.h>
Go to the source code of this file.
Classes | |
struct | _rtpstream_id |
Macros | |
#define | RTPSTREAM_ID_EQUAL_NONE 0x0000 |
#define | RTPSTREAM_ID_EQUAL_SSRC 0x0001 |
Typedefs | |
typedef struct _rtpstream_id | rtpstream_id_t |
Functions | |
unsigned | rtpstream_id_to_hash (const rtpstream_id_t *id) |
void | rtpstream_id_copy (const rtpstream_id_t *src, rtpstream_id_t *dest) |
void | rtpstream_id_copy_pinfo (const packet_info *pinfo, rtpstream_id_t *dest, bool swap_src_dst) |
void | rtpstream_id_copy_pinfo_shallow (const packet_info *pinfo, rtpstream_id_t *dest, bool swap_src_dst) |
void | rtpstream_id_free (rtpstream_id_t *id) |
bool | rtpstream_id_equal (const rtpstream_id_t *id1, const rtpstream_id_t *id2, unsigned flags) |
bool | rtpstream_id_equal_pinfo (const rtpstream_id_t *id, const packet_info *pinfo, bool swap_src_dst) |
bool | rtpstream_id_equal_pinfo_rtp_info (const rtpstream_id_t *id, const packet_info *pinfo, const struct _rtp_info *rtp_info) |
unsigned | pinfo_rtp_info_to_hash (const packet_info *pinfo, const struct _rtp_info *rtp_info) |
RTP stream id functions 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.
#define RTPSTREAM_ID_EQUAL_NONE 0x0000 |
Check if two rtpstream_id_t are equal
typedef struct _rtpstream_id rtpstream_id_t |
Defines an rtp stream identification
unsigned pinfo_rtp_info_to_hash | ( | const packet_info * | pinfo, |
const struct _rtp_info * | rtp_info | ||
) |
Get hash of rtpstream_id extracted from packet_info and _rtp_info
void rtpstream_id_copy | ( | const rtpstream_id_t * | src, |
rtpstream_id_t * | dest | ||
) |
Copy rtpstream_id_t structure
void rtpstream_id_copy_pinfo | ( | const packet_info * | pinfo, |
rtpstream_id_t * | dest, | ||
bool | swap_src_dst | ||
) |
Deep copy addresses and ports from pinfo
void rtpstream_id_copy_pinfo_shallow | ( | const packet_info * | pinfo, |
rtpstream_id_t * | dest, | ||
bool | swap_src_dst | ||
) |
Shallow copy addresses and ports from pinfo Do not call rtpstream_id_free if you use this function.
bool rtpstream_id_equal_pinfo | ( | const rtpstream_id_t * | id, |
const packet_info * | pinfo, | ||
bool | swap_src_dst | ||
) |
Check if rtpstream_id_t is equal to pinfo
bool rtpstream_id_equal_pinfo_rtp_info | ( | const rtpstream_id_t * | id, |
const packet_info * | pinfo, | ||
const struct _rtp_info * | rtp_info | ||
) |
Check if rtpstream_id_t is equal to pinfo and rtp_info
void rtpstream_id_free | ( | rtpstream_id_t * | id | ) |
Free memory allocated for id it releases address items only, do not release whole structure!
unsigned rtpstream_id_to_hash | ( | const rtpstream_id_t * | id | ) |
Get hash of rtpstream_id