aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/wtap.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-01-31 01:02:14 +0000
committerGuy Harris <guy@alum.mit.edu>2003-01-31 01:02:14 +0000
commitf88816e60f1f14f2662c20740db6ecf3764e82b6 (patch)
tree4fc64f4ea929901c9f1cc62467bfce72435baa2b /wiretap/wtap.h
parent1c898c8a11d0d008719d2d563b65d7c362e530ce (diff)
Add WTAP_ENCAP_FRELAY_WITH_PHDR for use with Frame Relay capture files
that have direction information. Support writing WTAP_ENCAP_FRELAY_WITH_PHDR and WTAP_ENCAP_PPP_WITH_PHDR captures out in libpcap format - we throw away the direction information, but so it goes. When reading/writing Windows Sniffer format, read and write the direction flag. svn path=/trunk/; revision=7052
Diffstat (limited to 'wiretap/wtap.h')
-rw-r--r--wiretap/wtap.h29
1 files changed, 15 insertions, 14 deletions
diff --git a/wiretap/wtap.h b/wiretap/wtap.h
index 2a514ad4b7..0c3b1c1075 100644
--- a/wiretap/wtap.h
+++ b/wiretap/wtap.h
@@ -1,6 +1,6 @@
/* wtap.h
*
- * $Id: wtap.h,v 1.133 2003/01/23 04:04:01 guy Exp $
+ * $Id: wtap.h,v 1.134 2003/01/31 01:02:14 guy Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu>
@@ -113,21 +113,22 @@
#define WTAP_ENCAP_IEEE_802_11_WITH_RADIO 21
#define WTAP_ENCAP_SLL 22
#define WTAP_ENCAP_FRELAY 23
-#define WTAP_ENCAP_CHDLC 24
-#define WTAP_ENCAP_CISCO_IOS 25
-#define WTAP_ENCAP_LOCALTALK 26
-#define WTAP_ENCAP_PRISM_HEADER 27
-#define WTAP_ENCAP_PFLOG 28
-#define WTAP_ENCAP_HHDLC 29
-#define WTAP_ENCAP_DOCSIS 30
-#define WTAP_ENCAP_COSINE 31
-#define WTAP_ENCAP_WLAN_HEADER 32
-#define WTAP_ENCAP_WFLEET_HDLC 33
-#define WTAP_ENCAP_SDLC 34
-#define WTAP_ENCAP_TZSP 35
+#define WTAP_ENCAP_FRELAY_WITH_PHDR 24
+#define WTAP_ENCAP_CHDLC 25
+#define WTAP_ENCAP_CISCO_IOS 26
+#define WTAP_ENCAP_LOCALTALK 27
+#define WTAP_ENCAP_PRISM_HEADER 28
+#define WTAP_ENCAP_PFLOG 29
+#define WTAP_ENCAP_HHDLC 30
+#define WTAP_ENCAP_DOCSIS 31
+#define WTAP_ENCAP_COSINE 32
+#define WTAP_ENCAP_WLAN_HEADER 33
+#define WTAP_ENCAP_WFLEET_HDLC 34
+#define WTAP_ENCAP_SDLC 35
+#define WTAP_ENCAP_TZSP 36
/* last WTAP_ENCAP_ value + 1 */
-#define WTAP_NUM_ENCAP_TYPES 36
+#define WTAP_NUM_ENCAP_TYPES 37
/* File types that can be read by wiretap.
We support writing some many of these file types, too, so we