|
Wireshark
4.3.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 | |
| guint | 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, gboolean swap_src_dst) |
| void | rtpstream_id_copy_pinfo_shallow (const packet_info *pinfo, rtpstream_id_t *dest, gboolean swap_src_dst) |
| void | rtpstream_id_free (rtpstream_id_t *id) |
| gboolean | rtpstream_id_equal (const rtpstream_id_t *id1, const rtpstream_id_t *id2, guint flags) |
| gboolean | rtpstream_id_equal_pinfo (const rtpstream_id_t *id, const packet_info *pinfo, bool swap_src_dst) |
| gboolean | rtpstream_id_equal_pinfo_rtp_info (const rtpstream_id_t *id, const packet_info *pinfo, const struct _rtp_info *rtp_info) |
| guint | 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.ruoff@gmx.net
Wireshark - Network traffic analyzer By Gerald Combs gerald@wireshark.org 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
| guint 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, | ||
| gboolean | swap_src_dst | ||
| ) |
Deep copy addresses and ports from pinfo
| void rtpstream_id_copy_pinfo_shallow | ( | const packet_info * | pinfo, |
| rtpstream_id_t * | dest, | ||
| gboolean | swap_src_dst | ||
| ) |
Shallow copy addresses and ports from pinfo Do not call rtpstream_id_free if you use this function.
| gboolean 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
| gboolean 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!
| guint rtpstream_id_to_hash | ( | const rtpstream_id_t * | id | ) |
Get hash of rtpstream_id