16 #ifndef __PACKET_RTP_H__
17 #define __PACKET_RTP_H__
20 #include "ws_symbol_export.h"
22 #include "packet-btavdtp.h"
23 #include "packet-sdp.h"
25 #define RTP_MEDIA_AUDIO 1
26 #define RTP_MEDIA_VIDEO 2
27 #define RTP_MEDIA_OTHER 4
30 unsigned int info_version;
31 gboolean info_padding_set;
32 gboolean info_marker_set;
33 guint32 info_media_types;
34 unsigned int info_payload_type;
36 guint32 info_extended_seq_num;
37 guint32 info_timestamp;
38 guint64 info_extended_timestamp;
39 guint32 info_sync_src;
41 gboolean info_all_data_present;
42 guint info_payload_offset;
43 guint info_payload_len;
44 gboolean info_is_srtp;
45 guint32 info_setup_frame_num;
46 const guint8* info_data;
47 const gchar *info_payload_type_str;
48 gint info_payload_rate;
49 unsigned info_payload_channels;
51 gboolean info_is_ed137;
52 const gchar *info_ed137_info;
67 #define SRTP_ENC_ALG_NOT_SET 0
68 #define SRTP_ENC_ALG_NULL 1
69 #define SRTP_ENC_ALG_AES_CM 2
70 #define SRTP_ENC_ALG_AES_F8 3
71 #define SRTP_ENC_ALG_AES_GCM 4
74 #define SRTP_AUTH_ALG_NONE 0
75 #define SRTP_AUTH_ALG_HMAC_SHA1 1
76 #define SRTP_AUTH_ALG_GMAC 2
84 guint8 key_generation_rate;
96 guint encryption_algorithm;
101 struct srtp_key_info **master_keys;
146 const gchar* encoding_name,
147 const int sample_rate,
148 const unsigned channels,
165 const gchar* encoding_name,
166 const int sample_rate,
167 const unsigned channels);
207 const gchar* rtp_dyn_payload_get_name(
rtp_dyn_payload_t *rtp_dyn_payload,
const guint pt);
225 gboolean rtp_dyn_payload_get_full(
rtp_dyn_payload_t *rtp_dyn_payload,
const guint pt,
226 const gchar **encoding_name,
int *sample_rate,
unsigned *channels,
wmem_map_t **fmtp_map);
234 #ifdef DEBUG_CONVERSATION
240 #define RTP_CONVERSATION_PROTO_DATA 0
241 #define RTP_DECODE_AS_PROTO_DATA 1
243 #define MAX_RTP_SETUP_METHOD_SIZE 11
251 gchar method[MAX_RTP_SETUP_METHOD_SIZE + 1];
252 guint32 frame_number;
272 const port_type ptype,
275 const gchar *setup_method,
276 guint32 setup_frame_number,
283 const port_type ptype,
286 const gchar *setup_method,
287 guint32 setup_frame_number,
296 const gchar *setup_method, guint32 setup_frame_number,
297 guint32 media_types,
void *data);
301 gint dissect_rtp_shim_header(
tvbuff_t *tvb, gint start,
Definition: packet-btavdtp.h:26
Definition: packet-btavdtp.h:35
Definition: packet_info.h:44
Definition: packet-rtp.c:134
Definition: packet-rtp.h:29
Definition: packet-rtp.h:250
struct srtp_info * srtp_info
Definition: packet-rtp.h:263
struct _rtp_private_conv_info * rtp_conv_info
Definition: packet-rtp.h:260
guint32 extended_seqno
Definition: packet-rtp.h:256
guint64 extended_timestamp
Definition: packet-rtp.h:259
guint32 media_types
Definition: packet-rtp.h:253
Definition: packet-rtp.h:305
Definition: packet-rtp.c:94
Definition: packet-sdp.h:40
Definition: wmem_array.c:27
Definition: wmem_map.c:44
Definition: packet-rtp.h:95
Definition: tvbuff-int.h:35