15#ifndef __RTP_STREAM_ID_H__
16#define __RTP_STREAM_ID_H__
82#define RTPSTREAM_ID_EQUAL_NONE 0x0000
83#define RTPSTREAM_ID_EQUAL_SSRC 0x0001
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.
Definition rtp_stream_id.c:61
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.
Definition rtp_stream_id.c:132
unsigned rtpstream_id_to_hash(const rtpstream_id_t *id)
Get hash of rtpstream_id.
Definition rtp_stream_id.c:89
void rtpstream_id_copy_pinfo(const packet_info *pinfo, rtpstream_id_t *dest, bool swap_src_dst)
Deep copy addresses and ports from pinfo.
Definition rtp_stream_id.c:41
void rtpstream_id_free(rtpstream_id_t *id)
Free memory allocated for id it releases address items only, do not release whole structure!
Definition rtp_stream_id.c:80
bool rtpstream_id_equal(const rtpstream_id_t *id1, const rtpstream_id_t *id2, unsigned flags)
Compare two RTP stream IDs for equality.
Definition rtp_stream_id.c:109
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.
Definition rtp_stream_id.c:172
void rtpstream_id_copy(const rtpstream_id_t *src, rtpstream_id_t *dest)
Copy rtpstream_id_t structure.
Definition rtp_stream_id.c:30
struct _rtpstream_id rtpstream_id_t
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.
Definition rtp_stream_id.c:156
Holds a network or link-layer address of any supported type.
Definition address.h:62
Represents the metadata and indexing information for a single captured frame.
Definition packet_info.h:43
Definition packet-rtp.h:29
Definition rtp_stream_id.h:33