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 /cfile.h | |
parent | c43b7b8b934a3eb6e864f697776603c89e1a6719 (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 'cfile.h')
-rw-r--r-- | cfile.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 */ |