diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-07-08 09:12:11 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-07-08 09:12:11 +0000 |
commit | 979511b3fadf9c786456246c1b1d41707ded3c42 (patch) | |
tree | 253cce71eea9dc0557a1a49096301e12c8b274bb /summary.h | |
parent | f64a0aa20bfb5664dcea1ba1627c632b26ac5afb (diff) | |
download | wireshark-979511b3fadf9c786456246c1b1d41707ded3c42.tar.gz wireshark-979511b3fadf9c786456246c1b1d41707ded3c42.tar.bz2 wireshark-979511b3fadf9c786456246c1b1d41707ded3c42.zip |
Make the counters in the summary 64-bit, so they don't overflow on
Really Big Captures.
svn path=/trunk/; revision=14875
Diffstat (limited to 'summary.h')
-rw-r--r-- | summary.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -31,7 +31,7 @@ #endif typedef struct _summary_tally { - guint32 bytes; /* total bytes */ + guint64 bytes; /* total bytes */ double start_time; /* seconds, with msec resolution */ double stop_time; /* seconds, with msec resolution */ double elapsed_time; /* seconds, with msec resolution, @@ -40,7 +40,7 @@ typedef struct _summary_tally { int marked_count; /* number of marked packets */ int packet_count; /* total number of packets in trace */ int filtered_count; /* number of filtered packets */ - guint32 filtered_bytes; /* total bytes in the filtered packets */ + guint64 filtered_bytes; /* total bytes in the filtered packets */ double filtered_start; /* time in seconds, with msec resolution */ double filtered_stop; /* time in seconds, with msec resolution */ const char *filename; @@ -49,7 +49,7 @@ typedef struct _summary_tally { gboolean has_snap; /* TRUE if maximum capture packet length is known */ int snap; /* Maximum captured packet length */ gboolean drops_known; /* TRUE if number of packet drops is known */ - guint32 drops; /* number of packet drops */ + guint64 drops; /* number of packet drops */ const char *dfilter; /* display filter */ /* capture related, use summary_fill_in_capture() to get values */ |