diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-05-24 05:05:29 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-05-24 05:05:29 +0000 |
commit | cf6d9841e37906448ad1a571a648140325efcae0 (patch) | |
tree | 8e14522dbdae5295fd41a236e7f9e49daab36c4e /summary.h | |
parent | 73888ed977e7ba3356d3c5e31c182508d576dfc1 (diff) | |
download | wireshark-cf6d9841e37906448ad1a571a648140325efcae0.tar.gz wireshark-cf6d9841e37906448ad1a571a648140325efcae0.tar.bz2 wireshark-cf6d9841e37906448ad1a571a648140325efcae0.zip |
Keep track, in Wiretap, of whether the file is compressed, and provide
an API to fetch that.
When doing "Save" on a compressed file, write it out compressed.
In the Statistics -> Summary dialog and in capinfos, report whether the
file is gzip-compressed.
svn path=/trunk/; revision=42818
Diffstat (limited to 'summary.h')
-rw-r--r-- | summary.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -33,7 +33,7 @@ typedef struct iface_options_tag { char *name; char *descr; char *cfilter; - char *isb_comment; + char *isb_comment; guint64 drops; /**< number of packet drops */ gboolean drops_known; /**< TRUE if number of packet drops is known */ gboolean has_snap; /**< TRUE if maximum capture packet length is known */ @@ -64,6 +64,7 @@ typedef struct _summary_tally { const char *filename; gint64 file_length; /**< file length in bytes */ int file_type; /**< wiretap file type */ + int iscompressed; /**< TRUE if file is compressed */ int encap_type; /**< wiretap encapsulation type */ gboolean has_snap; /**< TRUE if maximum capture packet length is known */ int snap; /**< Maximum captured packet length */ |