aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-iax2.h
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2009-03-11 06:43:46 +0000
committerAnders Broman <anders.broman@ericsson.com>2009-03-11 06:43:46 +0000
commit564846935aa17f6822688bdb60c13f80cd6ea520 (patch)
tree46d7359347791c6b862d82a2aa8713642fad21c7 /epan/dissectors/packet-iax2.h
parentdd90adfe9008b4454594f13af58062c2a39ff268 (diff)
From Carlos Mendioroz:
IAX2 calls statistics window ala RTP. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3217 svn path=/trunk/; revision=27696
Diffstat (limited to 'epan/dissectors/packet-iax2.h')
-rw-r--r--epan/dissectors/packet-iax2.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/epan/dissectors/packet-iax2.h b/epan/dissectors/packet-iax2.h
index 44cc0de5df..92652155e8 100644
--- a/epan/dissectors/packet-iax2.h
+++ b/epan/dissectors/packet-iax2.h
@@ -215,4 +215,28 @@
#define IAX_DPSTATUS_IGNOREPAT (1 << 14)
#define IAX_DPSTATUS_MATCHMORE (1 << 15)
+typedef enum {
+ IAX2_MINI_VOICE_PACKET,
+ IAX2_FULL_PACKET,
+ IAX2_MINI_VIDEO_PACKET,
+ IAX2_META_PACKET
+} packet_type;
+
+/* Container for tapping relevant data */
+typedef struct _iax2_info_t
+{
+ packet_type ptype;
+ guint16 scallno;
+ guint16 dcallno;
+ guint8 ftype;
+ guint8 csub;
+ guint32 timestamp;
+ guint payload_len;
+ voip_call_state callState;
+ const gchar *messageName;
+ gchar *callingParty;
+ gchar *calledParty;
+ const guint8 *payload_data;
+} iax2_info_t;
+
#endif