aboutsummaryrefslogtreecommitdiffstats
path: root/epan/packet.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-10-13 17:12:20 -0700
committerMichael Mann <mmann78@netscape.net>2015-12-13 04:25:13 +0000
commit76dd8a27b77aa959d4f6c6fb09c48b2e79d9cd47 (patch)
treeb76e5c210abb2503ffc19276b928fc8d55dc208e /epan/packet.h
parentf06bbe37c12c7788702cc8649e3da1f18c730931 (diff)
Start deprecating the capture info API.
The GTK+ UI has a capture info dialog which shows a summary of captured protocols, including IPX (!), NetBIOS (!!) and VINES (!!OMG!!). It's been disabled by default since 2006 (g59aa9e40). Remove the preference in the Qt UI capture pane. It's still available via the advanced prefs. Add comments in various parts of the code noting that the capture_info routines and structs are GTK+ only. Also note that if we *do* want to add a Qt capture info dialog we'll probably want to modernize the information we show. Change-Id: I3c63f6f01b60f0767fb33602a7f0c3b537dbde51 Reviewed-on: https://code.wireshark.org/review/10991 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/packet.h')
-rw-r--r--epan/packet.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/packet.h b/epan/packet.h
index 4c04c4b119..c585bda83f 100644
--- a/epan/packet.h
+++ b/epan/packet.h
@@ -56,6 +56,11 @@ struct epan_range;
((guint)(offset) + (guint)(len) > (guint)(offset) && \
(guint)(offset) + (guint)(len) <= (guint)(captured_len))
+/*
+ * GTK+ only.
+ * If we add this to the Qt UI we should modernize the statistics we show.
+ * At the very least we should remove or hide IPX and VINES.
+ */
typedef struct _packet_counts {
gint sctp;
gint tcp;