1*76404edcSAsim Jamshed /* 2*76404edcSAsim Jamshed * Copyright (c) 1997 Yen Yen Lim and North Dakota State University 3*76404edcSAsim Jamshed * All rights reserved. 4*76404edcSAsim Jamshed * 5*76404edcSAsim Jamshed * Redistribution and use in source and binary forms, with or without 6*76404edcSAsim Jamshed * modification, are permitted provided that the following conditions 7*76404edcSAsim Jamshed * are met: 8*76404edcSAsim Jamshed * 1. Redistributions of source code must retain the above copyright 9*76404edcSAsim Jamshed * notice, this list of conditions and the following disclaimer. 10*76404edcSAsim Jamshed * 2. Redistributions in binary form must reproduce the above copyright 11*76404edcSAsim Jamshed * notice, this list of conditions and the following disclaimer in the 12*76404edcSAsim Jamshed * documentation and/or other materials provided with the distribution. 13*76404edcSAsim Jamshed * 3. All advertising materials mentioning features or use of this software 14*76404edcSAsim Jamshed * must display the following acknowledgement: 15*76404edcSAsim Jamshed * This product includes software developed by Yen Yen Lim and 16*76404edcSAsim Jamshed North Dakota State University 17*76404edcSAsim Jamshed * 4. The name of the author may not be used to endorse or promote products 18*76404edcSAsim Jamshed * derived from this software without specific prior written permission. 19*76404edcSAsim Jamshed * 20*76404edcSAsim Jamshed * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 21*76404edcSAsim Jamshed * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22*76404edcSAsim Jamshed * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23*76404edcSAsim Jamshed * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, 24*76404edcSAsim Jamshed * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 25*76404edcSAsim Jamshed * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26*76404edcSAsim Jamshed * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27*76404edcSAsim Jamshed * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 28*76404edcSAsim Jamshed * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 29*76404edcSAsim Jamshed * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 30*76404edcSAsim Jamshed * POSSIBILITY OF SUCH DAMAGE. 31*76404edcSAsim Jamshed * 32*76404edcSAsim Jamshed * @(#) $Header: /usr/cvsroot/sfeng/ims/src/libraries/daq/daq/sfbpf/sunatmpos.h,v 1.1 2010/04/15 19:18:36 maltizer Exp $ (LBL) 33*76404edcSAsim Jamshed */ 34*76404edcSAsim Jamshed 35*76404edcSAsim Jamshed /* SunATM header for ATM packet */ 36*76404edcSAsim Jamshed #define SUNATM_DIR_POS 0 37*76404edcSAsim Jamshed #define SUNATM_VPI_POS 1 38*76404edcSAsim Jamshed #define SUNATM_VCI_POS 2 39*76404edcSAsim Jamshed #define SUNATM_PKT_BEGIN_POS 4 /* Start of ATM packet */ 40*76404edcSAsim Jamshed 41*76404edcSAsim Jamshed /* Protocol type values in the bottom for bits of the byte at SUNATM_DIR_POS. */ 42*76404edcSAsim Jamshed #define PT_LANE 0x01 /* LANE */ 43*76404edcSAsim Jamshed #define PT_LLC 0x02 /* LLC encapsulation */ 44*76404edcSAsim Jamshed #define PT_ILMI 0x05 /* ILMI */ 45*76404edcSAsim Jamshed #define PT_QSAAL 0x06 /* Q.SAAL */ 46