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 /summary.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 'summary.h')
-rw-r--r-- | summary.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,7 +1,7 @@ /* summary.h * Definitions for capture file summary data * - * $Id: summary.h,v 1.5 2000/08/21 18:20:12 deniel Exp $ + * $Id: summary.h,v 1.6 2001/02/11 09:28:15 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -40,7 +40,8 @@ typedef struct _summary_tally { long file_length; /* file length in bytes */ int encap_type; /* wiretap encapsulation type */ int snap; /* snapshot length */ - int drops; /* number of packet drops */ + gboolean drops_known; /* TRUE if number of packet drops is known */ + guint32 drops; /* number of packet drops */ const char *iface; /* interface name */ const char *dfilter; /* display filter */ const char *cfilter; /* capture filter */ |