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 /file.h | |
parent | 8cd8391b9aac60f8371ca5911330d6b8aacce996 (diff) | |
download | wireshark-bf0a3a32d1135b4bc84a5051adfbf934d091ba61.tar.gz wireshark-bf0a3a32d1135b4bc84a5051adfbf934d091ba61.tar.bz2 wireshark-bf0a3a32d1135b4bc84a5051adfbf934d091ba61.zip |
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 'file.h')
-rw-r--r-- | file.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,7 +1,7 @@ /* file.h * Definitions for file structures and routines * - * $Id: file.h,v 1.80 2001/02/01 20:21:13 gram Exp $ + * $Id: file.h,v 1.81 2001/02/11 09:28:15 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -68,6 +68,7 @@ typedef struct _capture_file { int lnk_t; /* Link-layer type with which to save capture */ guint32 vers; /* Version. For tcpdump minor is appended to major */ guint32 count; /* Packet count */ + gboolean drops_known; /* TRUE if we know how many packets were dropped */ guint32 drops; /* Dropped packets */ guint32 esec; /* Elapsed seconds */ guint32 eusec; /* Elapsed microseconds */ |