1*0f74e101Schristos /* 2*0f74e101Schristos * Copyright (c) 2002 Guy Harris. 3*0f74e101Schristos * All rights reserved. 4*0f74e101Schristos * 5*0f74e101Schristos * Redistribution and use in source and binary forms, with or without 6*0f74e101Schristos * modification, are permitted provided that: (1) source code 7*0f74e101Schristos * distributions retain the above copyright notice and this paragraph 8*0f74e101Schristos * in its entirety, and (2) distributions including binary code include 9*0f74e101Schristos * the above copyright notice and this paragraph in its entirety in 10*0f74e101Schristos * the documentation or other materials provided with the distribution. 11*0f74e101Schristos * The name of Guy Harris may not be used to endorse or promote products 12*0f74e101Schristos * derived from this software without specific prior written permission. 13*0f74e101Schristos * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED 14*0f74e101Schristos * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF 15*0f74e101Schristos * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 16*0f74e101Schristos */ 17*0f74e101Schristos 18*0f74e101Schristos /* 19*0f74e101Schristos * Traffic types for ATM. 20*0f74e101Schristos */ 21*0f74e101Schristos #define ATM_UNKNOWN 0 /* Unknown */ 22*0f74e101Schristos #define ATM_LANE 1 /* LANE */ 23*0f74e101Schristos #define ATM_LLC 2 /* LLC encapsulation */ 24*0f74e101Schristos 25*0f74e101Schristos /* 26*0f74e101Schristos * some OAM cell captures (most notably Juniper's) 27*0f74e101Schristos * do not deliver a heading HEC byte 28*0f74e101Schristos */ 29*0f74e101Schristos #define ATM_OAM_NOHEC 0 30*0f74e101Schristos #define ATM_OAM_HEC 1 31*0f74e101Schristos #define ATM_HDR_LEN_NOHEC 4 32