diff options
author | Gerald Combs <gerald@wireshark.org> | 2015-09-03 11:18:13 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-09-09 21:57:08 +0000 |
commit | cd9f163eb91d4c70977f669472d5acaf7a4fbe7c (patch) | |
tree | 268428ad90ed1a46ae67df78c3124fc751e40b2d /ui/tap-iax2-analysis.h | |
parent | 302b03a0bbe3702f93eced884d8103528c35e8d7 (diff) | |
download | wireshark-cd9f163eb91d4c70977f669472d5acaf7a4fbe7c.tar.gz |
Add the IAX2 Analysis dialog.
Copied from the RTP Analysis dialog, just like the GTK+ version.
Change-Id: I111020bc4073a3a3ba583bdace51a91ee5fef300
Reviewed-on: https://code.wireshark.org/review/10447
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/tap-iax2-analysis.h')
-rw-r--r-- | ui/tap-iax2-analysis.h | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/ui/tap-iax2-analysis.h b/ui/tap-iax2-analysis.h index 43d196afac..9f4b4b467c 100644 --- a/ui/tap-iax2-analysis.h +++ b/ui/tap-iax2-analysis.h @@ -39,16 +39,9 @@ * @todo what's this? */ -void iax2_analysis( - address *ip_src_fwd, - guint16 port_src_fwd, - address *ip_dst_fwd, - guint16 port_dst_fwd, - address *ip_src_rev, - guint16 port_src_rev, - address *ip_dst_rev, - guint16 port_dst_rev - ); +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ /****************************************************************************/ /* structure that holds the information about the forward and reversed direction */ @@ -86,8 +79,8 @@ typedef struct _tap_iax2_stat_t { guint16 stop_seq_nr; guint32 total_nr; guint32 sequence; - gboolean under; - gint cycles; + gboolean under; /* Unused? */ + gint cycles; /* Unused? */ guint16 pt; int reg_pt; } tap_iax2_stat_t; @@ -104,14 +97,14 @@ typedef struct _tap_iax2_stat_t { #define STAT_FLAG_REG_PT_CHANGE 0x040 #define STAT_FLAG_WRONG_TIMESTAMP 0x080 -/* forward */ -struct _rtp_info; - /* function for analysing an IAX2 packet. Called from iax2_analysis. */ extern void iax2_packet_analyse(tap_iax2_stat_t *statinfo, packet_info *pinfo, const struct _iax2_info_t *iax2info); +#ifdef __cplusplus +} +#endif /* __cplusplus */ #endif /* __TAP_IAX2_ANALYSIS_H__ */ |