summaryrefslogtreecommitdiff
path: root/atm.h
diff options
context:
space:
mode:
authorhannes <hannes>2005-06-20 07:37:01 +0000
committerhannes <hannes>2005-06-20 07:37:01 +0000
commit99b69f68980a6f0f71a1d8f81e35d40ed028cd13 (patch)
treece696c284baa57afe81eaf14c6445a5bcd33caec /atm.h
parentd16e94e8487d7025d213595c47fc81f6a6c70b40 (diff)
downloadtcpdump-99b69f68980a6f0f71a1d8f81e35d40ed028cd13.tar.gz
Juniper routers do not deliver a heading HEC byte for oam cells: make the OAM printer to support both HEC and non-HEC OAM cells
Diffstat (limited to 'atm.h')
-rw-r--r--atm.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/atm.h b/atm.h
index a4611c0f..7d7db192 100644
--- a/atm.h
+++ b/atm.h
@@ -14,7 +14,7 @@
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * @(#) $Header: /tcpdump/master/tcpdump/atm.h,v 1.1 2002-07-11 09:17:22 guy Exp $
+ * @(#) $Header: /tcpdump/master/tcpdump/atm.h,v 1.2 2005-06-20 07:37:01 hannes Exp $
*/
/*
@@ -23,3 +23,10 @@
#define ATM_UNKNOWN 0 /* Unknown */
#define ATM_LANE 1 /* LANE */
#define ATM_LLC 2 /* LLC encapsulation */
+
+/*
+ * some OAM cell captures (most notably Juniper's)
+ * do not deliver a heading HEC byte
+ */
+#define ATM_OAM_NOHEC 0
+#define ATM_OAM_HEC 1