diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-12-04 11:32:25 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-12-04 11:32:25 +0000 |
commit | aef39cc00fbb22e3182d7dec9d29de501fea0e38 (patch) | |
tree | 9b73eccad5cbeeb7b207a17633570ae787387708 /file.h | |
parent | 0dcade26341d2cfaebdbb033333caf0f8c76f5b3 (diff) | |
download | wireshark-aef39cc00fbb22e3182d7dec9d29de501fea0e38.tar.gz wireshark-aef39cc00fbb22e3182d7dec9d29de501fea0e38.tar.bz2 wireshark-aef39cc00fbb22e3182d7dec9d29de501fea0e38.zip |
To find out the file's packet encapsulation type (which could be
WTAP_ENCAP_PER_PACKET, if there's more than one type of packet in the
file, or could be WTAP_ENCAP_UNKNOWN, if the file is of a type that
doesn't put an encapsulation type in the file header, and it has no
packets), we just need to call "wtap_file_encap()" when we're done
reading the file.
svn path=/trunk/; revision=1205
Diffstat (limited to 'file.h')
-rw-r--r-- | file.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,7 +1,7 @@ /* file.h * Definitions for file structures and routines * - * $Id: file.h,v 1.59 1999/12/04 08:59:13 guy Exp $ + * $Id: file.h,v 1.60 1999/12/04 11:32:25 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -81,7 +81,6 @@ typedef struct _capture_file { gboolean user_saved;/* If capture file is temporary, has it been saved by user yet? */ long f_len; /* Length of capture file */ guint16 cd_t; /* File type of capture file */ - gboolean first_packet; /* TRUE if we're looking at the first packet */ int lnk_t; /* Link-layer type with which to save capture */ guint32 vers; /* Version. For tcpdump minor is appended to major */ guint32 count; /* Packet count */ |