sunatmpos.h revision 127664
1251875Speter/* 2251875Speter * Copyright (c) 1997 Yen Yen Lim and North Dakota State University 3251875Speter * All rights reserved. 4251875Speter * 5251875Speter * Redistribution and use in source and binary forms, with or without 6251875Speter * modification, are permitted provided that the following conditions 7251875Speter * are met: 8251875Speter * 1. Redistributions of source code must retain the above copyright 9251875Speter * notice, this list of conditions and the following disclaimer. 10251875Speter * 2. Redistributions in binary form must reproduce the above copyright 11251875Speter * notice, this list of conditions and the following disclaimer in the 12251875Speter * documentation and/or other materials provided with the distribution. 13251875Speter * 3. All advertising materials mentioning features or use of this software 14251875Speter * must display the following acknowledgement: 15251875Speter * This product includes software developed by Yen Yen Lim and 16251875Speter North Dakota State University 17251875Speter * 4. The name of the author may not be used to endorse or promote products 18251875Speter * derived from this software without specific prior written permission. 19251875Speter * 20251875Speter * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 21251875Speter * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22251875Speter * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23251875Speter * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, 24251875Speter * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 25251875Speter * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26251875Speter * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27251875Speter * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 28251875Speter * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 29251875Speter * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 30251875Speter * POSSIBILITY OF SUCH DAMAGE. 31251875Speter * 32251875Speter * @(#) $Header: /tcpdump/master/libpcap/sunatmpos.h,v 1.1 2002/07/11 09:06:47 guy Exp $ (LBL) 33251875Speter */ 34251875Speter 35251875Speter/* SunATM header for ATM packet */ 36251875Speter#define SUNATM_DIR_POS 0 37251875Speter#define SUNATM_VPI_POS 1 38251875Speter#define SUNATM_VCI_POS 2 39251875Speter#define SUNATM_PKT_BEGIN_POS 4 /* Start of ATM packet */ 40251875Speter 41251875Speter/* Protocol type values in the bottom for bits of the byte at SUNATM_DIR_POS. */ 42251875Speter#define PT_LANE 0x01 /* LANE */ 43251875Speter#define PT_LLC 0x02 /* LLC encapsulation */ 44251875Speter#define PT_ILMI 0x05 /* ILMI */ 45251875Speter#define PT_QSAAL 0x06 /* Q.SAAL */ 46251875Speter