xref: /freebsd/contrib/tcpdump/atm.h (revision f4d0c64a1ddc84cf60d453e0f1ea0a70bea248e3)
15b0fe478SBruce M Simpson /*
25b0fe478SBruce M Simpson  * Copyright (c) 2002 Guy Harris.
35b0fe478SBruce M Simpson  *                All rights reserved.
45b0fe478SBruce M Simpson  *
55b0fe478SBruce M Simpson  * Redistribution and use in source and binary forms, with or without
65b0fe478SBruce M Simpson  * modification, are permitted provided that: (1) source code
75b0fe478SBruce M Simpson  * distributions retain the above copyright notice and this paragraph
85b0fe478SBruce M Simpson  * in its entirety, and (2) distributions including binary code include
95b0fe478SBruce M Simpson  * the above copyright notice and this paragraph in its entirety in
105b0fe478SBruce M Simpson  * the documentation or other materials provided with the distribution.
115b0fe478SBruce M Simpson  * The name of Guy Harris may not be used to endorse or promote products
125b0fe478SBruce M Simpson  * derived from this software without specific prior written permission.
135b0fe478SBruce M Simpson  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
145b0fe478SBruce M Simpson  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
155b0fe478SBruce M Simpson  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
165b0fe478SBruce M Simpson  *
17f4d0c64aSSam Leffler  * @(#) $Header: /tcpdump/master/tcpdump/atm.h,v 1.1.4.1 2005/06/20 07:45:05 hannes Exp $
185b0fe478SBruce M Simpson  */
195b0fe478SBruce M Simpson 
205b0fe478SBruce M Simpson /*
215b0fe478SBruce M Simpson  * Traffic types for ATM.
225b0fe478SBruce M Simpson  */
235b0fe478SBruce M Simpson #define ATM_UNKNOWN	0	/* Unknown */
245b0fe478SBruce M Simpson #define ATM_LANE	1	/* LANE */
255b0fe478SBruce M Simpson #define ATM_LLC		2	/* LLC encapsulation */
26f4d0c64aSSam Leffler 
27f4d0c64aSSam Leffler /*
28f4d0c64aSSam Leffler  * some OAM cell captures (most notably Juniper's)
29f4d0c64aSSam Leffler  * do not deliver a heading HEC byte
30f4d0c64aSSam Leffler  */
31f4d0c64aSSam Leffler #define ATM_OAM_NOHEC   0
32f4d0c64aSSam Leffler #define ATM_OAM_HEC     1
33