From d1128f64332ff4f9553e16a7343796d896f7a07e Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 15 Jun 2012 23:54:05 +0000 Subject: 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 --- summary.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'summary.h') 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 */ -- cgit v1.2.1