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 */ 175b0fe478SBruce M Simpson 185b0fe478SBruce M Simpson /* 195b0fe478SBruce M Simpson * Traffic types for ATM. 205b0fe478SBruce M Simpson */ 215b0fe478SBruce M Simpson #define ATM_UNKNOWN 0 /* Unknown */ 225b0fe478SBruce M Simpson #define ATM_LANE 1 /* LANE */ 235b0fe478SBruce M Simpson #define ATM_LLC 2 /* LLC encapsulation */ 24f4d0c64aSSam Leffler 25f4d0c64aSSam Leffler /* 26f4d0c64aSSam Leffler * some OAM cell captures (most notably Juniper's) 27f4d0c64aSSam Leffler * do not deliver a heading HEC byte 28f4d0c64aSSam Leffler */ 29f4d0c64aSSam Leffler #define ATM_OAM_NOHEC 0 30f4d0c64aSSam Leffler #define ATM_OAM_HEC 1 31a5779b6eSRui Paulo #define ATM_HDR_LEN_NOHEC 4 32