summaryrefslogtreecommitdiff
path: root/cfile.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 /cfile.h
parentc43b7b8b934a3eb6e864f697776603c89e1a6719 (diff)
downloadwireshark-d1128f64332ff4f9553e16a7343796d896f7a07e.tar.gz
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 'cfile.h')
-rw-r--r--cfile.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cfile.h b/cfile.h
index d33f361fb4..69e83d576b 100644
--- a/cfile.h
+++ b/cfile.h
@@ -74,7 +74,8 @@ typedef struct _capture_file {
gint64 f_datalen; /* Size of capture file data (uncompressed) */
guint16 cd_t; /* File type of capture file */
gboolean iscompressed; /* TRUE if the file is compressed */
- int lnk_t; /* Link-layer type with which to save capture */
+ int lnk_t; /* File link-layer type; could be WTAP_ENCAP_PER_PACKET */
+ GArray *linktypes; /* Array of packet link-layer types */
guint32 count; /* Total number of frames */
guint32 displayed_count; /* Number of displayed frames */
guint32 marked_count; /* Number of marked frames */