summaryrefslogtreecommitdiff
path: root/capture_opts.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2007-08-02 21:45:27 +0000
committerGerald Combs <gerald@wireshark.org>2007-08-02 21:45:27 +0000
commit89a2966ced23693ab513131ef37641ed40787e01 (patch)
treecca4caad8e2d8be6877bd0cb6820661817c69dfb /capture_opts.h
parent98309a6c837fb050aeab6106b619701cbb75af9f (diff)
downloadwireshark-89a2966ced23693ab513131ef37641ed40787e01.tar.gz
Add a "-S" flag to dumpcap, which prints out interface statistics. Use
this in the GUI rather than calling pcap_stats() directly. This gets rid of the last pcap_open_live() call in the GUI code. Update README.packaging. svn path=/trunk/; revision=22443
Diffstat (limited to 'capture_opts.h')
-rw-r--r--capture_opts.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/capture_opts.h b/capture_opts.h
index df5a6ef9cb..8d1d5600ea 100644
--- a/capture_opts.h
+++ b/capture_opts.h
@@ -120,6 +120,10 @@ capture_opts_list_link_layer_types(capture_options *capture_opts, gboolean machi
extern int
capture_opts_list_interfaces(gboolean machine_readable);
+/* print interface statistics */
+extern int
+capture_opts_print_statistics(gboolean machine_readable);
+
/* trim the snaplen entry */
extern void
capture_opts_trim_snaplen(capture_options *capture_opts, int snaplen_min);