aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/wtap.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-02-22 22:03:31 +0000
committerGuy Harris <guy@alum.mit.edu>2001-02-22 22:03:31 +0000
commit99ec31082e604e75d9a490c20ed036c7802f4825 (patch)
tree9d6eaf677e126619dd7bde8857b9c684c13565ef /wiretap/wtap.h
parentfdcd7c35b0a12983b44d57c48e10d467c4625345 (diff)
Etherpeek version 5, 6, and 7 support, from Daniel Thompson.
svn path=/trunk/; revision=3066
Diffstat (limited to 'wiretap/wtap.h')
-rw-r--r--wiretap/wtap.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/wiretap/wtap.h b/wiretap/wtap.h
index 8875d1ddbe..16d39eeb25 100644
--- a/wiretap/wtap.h
+++ b/wiretap/wtap.h
@@ -1,6 +1,6 @@
/* wtap.h
*
- * $Id: wtap.h,v 1.84 2001/01/08 22:18:22 guy Exp $
+ * $Id: wtap.h,v 1.85 2001/02/22 22:03:31 guy Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@xiexie.org>
@@ -129,9 +129,11 @@
#define WTAP_FILE_I4BTRACE 22
#define WTAP_FILE_CSIDS 23
#define WTAP_FILE_PPPDUMP 24
+#define WTAP_FILE_ETHERPEEK_MAC_V56 25
+#define WTAP_FILE_ETHERPEEK_MAC_V7 26
/* last WTAP_FILE_ value + 1 */
-#define WTAP_NUM_FILE_TYPES 25
+#define WTAP_NUM_FILE_TYPES 27
/*
* Maximum packet size we'll support.
@@ -189,6 +191,10 @@ struct ascend_phdr {
guint32 task; /* Task number */
};
+/* Packet "pseudo_header" for etherpeek capture files. */
+struct etherpeek_phdr {
+ struct timeval reference_time;
+};
struct p2p_phdr {
gboolean sent; /* TRUE=sent, FALSE=received */
@@ -251,6 +257,7 @@ union wtap_pseudo_header {
struct x25_phdr x25;
struct ngsniffer_atm_phdr ngsniffer_atm;
struct ascend_phdr ascend;
+ struct etherpeek_phdr etherpeek;
struct p2p_phdr p2p;
};