1127664Sbms/* 2127664Sbms * Copyright (c) 1997 Yen Yen Lim and North Dakota State University 3127664Sbms * All rights reserved. 4127664Sbms * 5127664Sbms * Redistribution and use in source and binary forms, with or without 6127664Sbms * modification, are permitted provided that the following conditions 7127664Sbms * are met: 8127664Sbms * 1. Redistributions of source code must retain the above copyright 9127664Sbms * notice, this list of conditions and the following disclaimer. 10127664Sbms * 2. Redistributions in binary form must reproduce the above copyright 11127664Sbms * notice, this list of conditions and the following disclaimer in the 12127664Sbms * documentation and/or other materials provided with the distribution. 13127664Sbms * 3. All advertising materials mentioning features or use of this software 14127664Sbms * must display the following acknowledgement: 15127664Sbms * This product includes software developed by Yen Yen Lim and 16127664Sbms North Dakota State University 17127664Sbms * 4. The name of the author may not be used to endorse or promote products 18127664Sbms * derived from this software without specific prior written permission. 19127664Sbms * 20127664Sbms * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 21127664Sbms * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22127664Sbms * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23127664Sbms * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, 24127664Sbms * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 25127664Sbms * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26127664Sbms * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27127664Sbms * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 28127664Sbms * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 29127664Sbms * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 30127664Sbms * POSSIBILITY OF SUCH DAMAGE. 31127664Sbms * 32214518Srpaulo * @(#) $Header: /tcpdump/master/libpcap/sunatmpos.h,v 1.1 2002-07-11 09:06:47 guy Exp $ (LBL) 33127664Sbms */ 34127664Sbms 35127664Sbms/* SunATM header for ATM packet */ 36127664Sbms#define SUNATM_DIR_POS 0 37127664Sbms#define SUNATM_VPI_POS 1 38127664Sbms#define SUNATM_VCI_POS 2 39127664Sbms#define SUNATM_PKT_BEGIN_POS 4 /* Start of ATM packet */ 40127664Sbms 41127664Sbms/* Protocol type values in the bottom for bits of the byte at SUNATM_DIR_POS. */ 42127664Sbms#define PT_LANE 0x01 /* LANE */ 43127664Sbms#define PT_LLC 0x02 /* LLC encapsulation */ 44127664Sbms#define PT_ILMI 0x05 /* ILMI */ 45127664Sbms#define PT_QSAAL 0x06 /* Q.SAAL */ 46