aboutsummaryrefslogtreecommitdiffstats
path: root/file.h
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>1999-01-02 06:10:55 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>1999-01-02 06:10:55 +0000
commit3688d96c459a5847a49d14264c0398600379f8b9 (patch)
treef87737491cb959697c6414b4ea1745e7528c1acc /file.h
parentd1a7effcf97733edfac7ea145cccddc1032cbf6f (diff)
Added the iptrace (AIX's packet-capture tool) file format to wiretap.
This necessitated a change in ethereal because iptrace supports multi-NIC packet capturing, including multi-datalink-type capturing. svn path=/trunk/; revision=145
Diffstat (limited to 'file.h')
-rw-r--r--file.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/file.h b/file.h
index dfd4db5e67..d0d613eae9 100644
--- a/file.h
+++ b/file.h
@@ -1,7 +1,7 @@
/* file.h
* Definitions for file structures and routines
*
- * $Id: file.h,v 1.7 1998/11/17 04:28:47 gerald Exp $
+ * $Id: file.h,v 1.8 1999/01/02 06:10:53 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -88,6 +88,7 @@ typedef struct _capture_file {
/* Taken from RFC 1761 */
+#ifndef WITH_WIRETAP
typedef struct _snoop_file_hdr {
guint32 magic1;
guint32 magic2;
@@ -103,6 +104,7 @@ typedef struct _snoop_frame_hdr {
guint32 secs;
guint32 usecs;
} snoop_frame_hdr;
+#endif
int open_cap_file(char *, capture_file *);
void close_cap_file(capture_file *, GtkWidget *, guint);