141c99275SPeter Avalos /* 241c99275SPeter Avalos * Copyright (c) 2002 Guy Harris. 341c99275SPeter Avalos * All rights reserved. 441c99275SPeter Avalos * 541c99275SPeter Avalos * Redistribution and use in source and binary forms, with or without 641c99275SPeter Avalos * modification, are permitted provided that: (1) source code 741c99275SPeter Avalos * distributions retain the above copyright notice and this paragraph 841c99275SPeter Avalos * in its entirety, and (2) distributions including binary code include 941c99275SPeter Avalos * the above copyright notice and this paragraph in its entirety in 1041c99275SPeter Avalos * the documentation or other materials provided with the distribution. 1141c99275SPeter Avalos * The name of Guy Harris may not be used to endorse or promote products 1241c99275SPeter Avalos * derived from this software without specific prior written permission. 1341c99275SPeter Avalos * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED 1441c99275SPeter Avalos * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF 1541c99275SPeter Avalos * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 1641c99275SPeter Avalos */ 1741c99275SPeter Avalos 1841c99275SPeter Avalos /* 1941c99275SPeter Avalos * Traffic types for ATM. 2041c99275SPeter Avalos */ 2141c99275SPeter Avalos #define ATM_UNKNOWN 0 /* Unknown */ 2241c99275SPeter Avalos #define ATM_LANE 1 /* LANE */ 2341c99275SPeter Avalos #define ATM_LLC 2 /* LLC encapsulation */ 2441c99275SPeter Avalos 2541c99275SPeter Avalos /* 2641c99275SPeter Avalos * some OAM cell captures (most notably Juniper's) 2741c99275SPeter Avalos * do not deliver a heading HEC byte 2841c99275SPeter Avalos */ 2941c99275SPeter Avalos #define ATM_OAM_NOHEC 0 3041c99275SPeter Avalos #define ATM_OAM_HEC 1 31*ea7b4bf5SPeter Avalos #define ATM_HDR_LEN_NOHEC 4 32