atm.h revision 190207
1127668Sbms/* 2127668Sbms * Copyright (c) 2002 Guy Harris. 3127668Sbms * All rights reserved. 4127668Sbms * 5127668Sbms * Redistribution and use in source and binary forms, with or without 6127668Sbms * modification, are permitted provided that: (1) source code 7127668Sbms * distributions retain the above copyright notice and this paragraph 8127668Sbms * in its entirety, and (2) distributions including binary code include 9127668Sbms * the above copyright notice and this paragraph in its entirety in 10127668Sbms * the documentation or other materials provided with the distribution. 11127668Sbms * The name of Guy Harris may not be used to endorse or promote products 12127668Sbms * derived from this software without specific prior written permission. 13127668Sbms * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED 14127668Sbms * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF 15127668Sbms * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 16127668Sbms * 17190207Srpaulo * @(#) $Header: /tcpdump/master/tcpdump/atm.h,v 1.3 2006-02-08 01:43:00 hannes Exp $ 18127668Sbms */ 19127668Sbms 20127668Sbms/* 21127668Sbms * Traffic types for ATM. 22127668Sbms */ 23127668Sbms#define ATM_UNKNOWN 0 /* Unknown */ 24127668Sbms#define ATM_LANE 1 /* LANE */ 25127668Sbms#define ATM_LLC 2 /* LLC encapsulation */ 26147899Ssam 27147899Ssam/* 28147899Ssam * some OAM cell captures (most notably Juniper's) 29147899Ssam * do not deliver a heading HEC byte 30147899Ssam */ 31147899Ssam#define ATM_OAM_NOHEC 0 32147899Ssam#define ATM_OAM_HEC 1 33190207Srpaulo#define ATM_HDR_LEN_NOHEC 4 34