aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/wtap.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-01-03 06:45:45 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-01-03 06:45:45 +0000
commit8d7670b41ecf989031bb2c351af94c66a5176148 (patch)
tree652a392fcd4049c149d0441b21e8146f1777df23 /wiretap/wtap.h
parent4deb7c989369b9d752938d86c015b7eccedeeb1c (diff)
Rename WTAP_ENCAP_ATM_SNIFFER to WTAP_ENCAP_ATM_PDUS, as it's not just
used for the DOS-based ATM Sniffer. (That's not a great name, but I couldn't think of a better one.) Add a new WTAP_ENCAP_ATM_PDUS_UNTRUNCATED encapsulation type for capture files where reassembled frames don't have trailers, such as the AAL5 trailer, chopped off. That's what at least some versions of the Windows-based ATM Sniffer appear to have. Map the ATM capture file type for NetXRay captures to WTAP_ENCAP_ATM_PDUS_UNTRUNCATED, and put in stuff to fill in what we've reverse-engineered, so far, for the pseudo-header; there's more that needs to be done on it, e.g. getting the channel, AAL type, and traffic type (or inferring them if they're not in the packet header). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6840 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'wiretap/wtap.h')
-rw-r--r--wiretap/wtap.h45
1 files changed, 23 insertions, 22 deletions
diff --git a/wiretap/wtap.h b/wiretap/wtap.h
index ed8fd85208..8dc1b1f923 100644
--- a/wiretap/wtap.h
+++ b/wiretap/wtap.h
@@ -1,6 +1,6 @@
/* wtap.h
*
- * $Id: wtap.h,v 1.127 2002/12/20 05:40:52 sharpe Exp $
+ * $Id: wtap.h,v 1.128 2003/01/03 06:45:45 guy Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu>
@@ -101,29 +101,30 @@
#define WTAP_ENCAP_ATM_RFC1483 9
#define WTAP_ENCAP_LINUX_ATM_CLIP 10
#define WTAP_ENCAP_LAPB 11
-#define WTAP_ENCAP_ATM_SNIFFER 12
-#define WTAP_ENCAP_NULL 13
-#define WTAP_ENCAP_ASCEND 14
-#define WTAP_ENCAP_ISDN 15
-#define WTAP_ENCAP_IP_OVER_FC 16
-#define WTAP_ENCAP_PPP_WITH_PHDR 17
-#define WTAP_ENCAP_IEEE_802_11 18
-#define WTAP_ENCAP_IEEE_802_11_WITH_RADIO 19
-#define WTAP_ENCAP_SLL 20
-#define WTAP_ENCAP_FRELAY 21
-#define WTAP_ENCAP_CHDLC 22
-#define WTAP_ENCAP_CISCO_IOS 23
-#define WTAP_ENCAP_LOCALTALK 24
-#define WTAP_ENCAP_PRISM_HEADER 25
-#define WTAP_ENCAP_PFLOG 26
-#define WTAP_ENCAP_HHDLC 27
-#define WTAP_ENCAP_DOCSIS 28
-#define WTAP_ENCAP_COSINE 29
-#define WTAP_ENCAP_WLAN_HEADER 30
-#define WTAP_ENCAP_WFLEET_HDLC 31
+#define WTAP_ENCAP_ATM_PDUS 12
+#define WTAP_ENCAP_ATM_PDUS_UNTRUNCATED 13
+#define WTAP_ENCAP_NULL 14
+#define WTAP_ENCAP_ASCEND 15
+#define WTAP_ENCAP_ISDN 16
+#define WTAP_ENCAP_IP_OVER_FC 17
+#define WTAP_ENCAP_PPP_WITH_PHDR 18
+#define WTAP_ENCAP_IEEE_802_11 19
+#define WTAP_ENCAP_IEEE_802_11_WITH_RADIO 20
+#define WTAP_ENCAP_SLL 21
+#define WTAP_ENCAP_FRELAY 22
+#define WTAP_ENCAP_CHDLC 23
+#define WTAP_ENCAP_CISCO_IOS 24
+#define WTAP_ENCAP_LOCALTALK 25
+#define WTAP_ENCAP_PRISM_HEADER 26
+#define WTAP_ENCAP_PFLOG 27
+#define WTAP_ENCAP_HHDLC 28
+#define WTAP_ENCAP_DOCSIS 29
+#define WTAP_ENCAP_COSINE 30
+#define WTAP_ENCAP_WLAN_HEADER 31
+#define WTAP_ENCAP_WFLEET_HDLC 32
/* last WTAP_ENCAP_ value + 1 */
-#define WTAP_NUM_ENCAP_TYPES 32
+#define WTAP_NUM_ENCAP_TYPES 33
/* File types that can be read by wiretap.
We support writing some many of these file types, too, so we