aboutsummaryrefslogtreecommitdiffstats
path: root/summary.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-06-15 23:54:05 +0000
committerGuy Harris <guy@alum.mit.edu>2012-06-15 23:54:05 +0000
commitd1128f64332ff4f9553e16a7343796d896f7a07e (patch)
tree41b8f92cdb618c7b05812bb7676b0be90a3a8765 /summary.h
parentc43b7b8b934a3eb6e864f697776603c89e1a6719 (diff)
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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/summary.h b/summary.h
index 21df0c0de8..c38fedfc4e 100644
--- a/summary.h
+++ b/summary.h
@@ -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 */