diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-02-11 09:28:17 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-02-11 09:28:17 +0000 |
commit | bf0a3a32d1135b4bc84a5051adfbf934d091ba61 (patch) | |
tree | e635f2f2c8a02e0c4ec19342b263e172495fd742 /capture.h | |
parent | 8cd8391b9aac60f8371ca5911330d6b8aacce996 (diff) |
In Ethereal, attempt to get the packet statistics from libpcap when
capturing; if we succeed, display the packet drops count as the "Drops"
value in the status line and as the "Dropped packets" statistics in the
summary dialog box, otherwise don't display it at all.
In Tethereal, attempt to get the packet statistics from libpcap when
capturing; if we succeed, and if there were any dropped packets, print
out the count of dropped packets when the capture finishes.
svn path=/trunk/; revision=3016
Diffstat (limited to 'capture.h')
-rw-r--r-- | capture.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ /* capture.h * Definitions for packet capture windows * - * $Id: capture.h,v 1.24 2000/10/11 06:01:14 guy Exp $ + * $Id: capture.h,v 1.25 2001/02/11 09:28:15 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -42,7 +42,7 @@ extern gboolean capture_child; /* if this is the child for "-S" */ void do_capture(char *capfile_name); /* Do the low-level work of a capture. */ -int capture(void); +int capture(gboolean *stats_known, struct pcap_stat *stats); /* Stop a capture from a menu item. */ void capture_stop(void); |