aboutsummaryrefslogtreecommitdiffstats
path: root/epan/prefs.h
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2013-11-29 22:47:59 +0000
committerMichael Mann <mmann78@netscape.net>2013-11-29 22:47:59 +0000
commit60d6b05e2340ae90c09fbdd2f25b6513131a0bd1 (patch)
treeb6e5a1637da1197aa7faad6cd480693ee1deee13 /epan/prefs.h
parenteaaf4437aba897df51bfb31829f98cf198dd1887 (diff)
Stats_tree enhancements for sorting, averages and burst rate. Bug 9452 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9452)
From Deon van der Westhuysen - Bug fix: object leak in stats_tree after a tap reset (for example apply statistics preferences with a stats_tree window open) - Bug fix: correct sample code in README.stats_tree - Add: slash in plug-in name now creates submenu as docs describe (was a bug?) - Add: menu separator before the stat_tree registered plug-ins - Add: stats_tree can now calculate averages for nodes; automatically calculated for range nodes. Add section in README.stats_tree describing averages. - Add: stats_tree can now calculate burst rate of each node (like rate but with a shorter, sliding time window) - Add: sorting for stats_tree plug-ins. Can sort on node name, count, average, min, max values and burst rate. - Add: preferences for stats_tree system (default sort column, burst calc params) - Add: stats_tree window copy to clipboard and export and plain text, csv and XML. - Added sample of new functionality in $srcdir/plugins/stats_tree/pinfo_stats_tree.c - Moved all stats_tree sample plug-ins to "IP Statistics" submenu. svn path=/trunk/; revision=53657
Diffstat (limited to 'epan/prefs.h')
-rw-r--r--epan/prefs.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/epan/prefs.h b/epan/prefs.h
index 9b9b1a1000..729ece2a4c 100644
--- a/epan/prefs.h
+++ b/epan/prefs.h
@@ -50,6 +50,10 @@ extern "C" {
#define RTP_PLAYER_DEFAULT_VISIBLE 4
#define TAP_UPDATE_DEFAULT_INTERVAL 3000
+#define ST_DEF_BURSTRES 5
+#define ST_DEF_BURSTLEN 100
+#define ST_MAX_BURSTRES 600000 /* somewhat arbirary limit of 10 minutes */
+#define ST_MAX_BURSTBUCKETS 100 /* somewhat arbirary limit - more buckets degrade performance */
/*
* Convert a string listing name resolution types to a bitmask of
@@ -208,6 +212,16 @@ typedef struct _e_prefs {
gboolean unknown_colorfilters; /* unknown or obsolete color filter(s) */
guint gui_qt_language; /* Qt Translation language selection */
gboolean gui_packet_editor; /* Enable Packet Editor */
+ gboolean st_enable_burstinfo;
+ gboolean st_burst_showcount;
+ gint st_burst_resolution;
+ gint st_burst_windowlen;
+ gboolean st_sort_casesensitve;
+ gboolean st_sort_rng_fixorder;
+ gboolean st_sort_rng_nameonly;
+ gint st_sort_defcolflag;
+ gboolean st_sort_defdescending;
+ gboolean st_sort_showfullname;
} e_prefs;
WS_DLL_PUBLIC e_prefs prefs;