diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-06-15 23:54:05 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-06-15 23:54:05 +0000 |
commit | d1128f64332ff4f9553e16a7343796d896f7a07e (patch) | |
tree | 41b8f92cdb618c7b05812bb7676b0be90a3a8765 /summary.h | |
parent | c43b7b8b934a3eb6e864f697776603c89e1a6719 (diff) | |
download | wireshark-d1128f64332ff4f9553e16a7343796d896f7a07e.tar.gz wireshark-d1128f64332ff4f9553e16a7343796d896f7a07e.tar.bz2 wireshark-d1128f64332ff4f9553e16a7343796d896f7a07e.zip |
For a capture file, keep an array of all encapsulation types seen.
Show all of them in the summary dialog; we will be using it in the
future to figure out what capture file formats we can write to (just
because a capture file format supports per-packet encapsulations, that
doesn't mean that it supports *all possible* encapsulations).
svn path=/trunk/; revision=43278
Diffstat (limited to 'summary.h')
-rw-r--r-- | summary.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -65,7 +65,8 @@ typedef struct _summary_tally { 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 */ + int file_encap_type; /**< wiretap encapsulation type for file */ + GArray *packet_encap_types; /**< wiretap encapsulation types for packets */ 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 */ |