aboutsummaryrefslogtreecommitdiffstats
path: root/epan/proto.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-02-02 09:01:29 -0800
committerGerald Combs <gerald@wireshark.org>2015-07-16 00:30:14 +0000
commitd2acb04b4cadd90bf09bdc4959e6bffb25dcfd38 (patch)
tree44079a225b9df1ca5dbb72d58b55ff2112c15cc4 /epan/proto.c
parent2e215db532f408697ba16f2d83524a64cc9e6424 (diff)
Add the RTP Stream Analysis dialog.
Combine the GTK+ RTP Stream Analysis and RTP Graph Analysis dialogs into one. Yell at the user less. Disable the Analyze RTP Stream menu item if we don't have an RTP stream selected. There are a *lot* of moving parts in this dialog. I've tested with the few RTP captures I have but it's by no means complete. "To do" items are listed at the top of rtp_analysis.cpp. Change-Id: Id503977f069bebc46cc68bc749f0c9cbf4d37bf6 Reviewed-on: https://code.wireshark.org/review/9650 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 'epan/proto.c')
-rw-r--r--epan/proto.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/epan/proto.c b/epan/proto.c
index 449e1c5995..447b8c2950 100644
--- a/epan/proto.c
+++ b/epan/proto.c
@@ -5417,7 +5417,8 @@ proto_get_protocol_filter_name(const int proto_id)
void
proto_get_frame_protocols(const wmem_list_t *layers, gboolean *is_ip,
gboolean *is_tcp, gboolean *is_udp,
- gboolean *is_sctp, gboolean *is_ssl)
+ gboolean *is_sctp, gboolean *is_ssl,
+ gboolean *is_rtp)
{
wmem_list_frame_t *protos = wmem_list_head(layers);
int proto_id;
@@ -5442,6 +5443,8 @@ proto_get_frame_protocols(const wmem_list_t *layers, gboolean *is_ip,
*is_sctp = TRUE;
} else if (is_ssl && !strcmp(proto_name, "ssl")) {
*is_ssl = TRUE;
+ } else if (is_rtp && !strcmp(proto_name, "rtp")) {
+ *is_rtp = TRUE;
}
protos = wmem_list_frame_next(protos);