From 89a2966ced23693ab513131ef37641ed40787e01 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Thu, 2 Aug 2007 21:45:27 +0000 Subject: 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 --- capture_opts.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'capture_opts.h') 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); -- cgit v1.2.1