X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/464c44fbd1394ac006d8d99f16e80ead423c1c47..refs/heads/tcpdump-4.6:/atm.h diff --git a/atm.h b/atm.h index a4611c0f..8d1737ed 100644 --- a/atm.h +++ b/atm.h @@ -13,8 +13,6 @@ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED * 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 $ */ /* @@ -23,3 +21,11 @@ #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 +#define ATM_HDR_LEN_NOHEC 4