1335640Shselasky/*
2335640Shselasky * Copyright (c) 1997 Yen Yen Lim and North Dakota State University
3335640Shselasky * All rights reserved.
4335640Shselasky *
5335640Shselasky * Redistribution and use in source and binary forms, with or without
6335640Shselasky * modification, are permitted provided that the following conditions
7335640Shselasky * are met:
8335640Shselasky * 1. Redistributions of source code must retain the above copyright
9335640Shselasky *    notice, this list of conditions and the following disclaimer.
10335640Shselasky * 2. Redistributions in binary form must reproduce the above copyright
11335640Shselasky *    notice, this list of conditions and the following disclaimer in the
12335640Shselasky *    documentation and/or other materials provided with the distribution.
13335640Shselasky * 3. All advertising materials mentioning features or use of this software
14335640Shselasky *    must display the following acknowledgement:
15335640Shselasky *      This product includes software developed by Yen Yen Lim and
16335640Shselasky        North Dakota State University
17335640Shselasky * 4. The name of the author may not be used to endorse or promote products
18335640Shselasky *    derived from this software without specific prior written permission.
19335640Shselasky *
20335640Shselasky * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
21335640Shselasky * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
22335640Shselasky * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23335640Shselasky * DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
24335640Shselasky * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
25335640Shselasky * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26335640Shselasky * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27335640Shselasky * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
28335640Shselasky * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
29335640Shselasky * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30335640Shselasky * POSSIBILITY OF SUCH DAMAGE.
31335640Shselasky */
32335640Shselasky
33335640Shselasky/* SunATM header for ATM packet */
34335640Shselasky#define SUNATM_DIR_POS		0
35335640Shselasky#define SUNATM_VPI_POS		1
36335640Shselasky#define SUNATM_VCI_POS		2
37335640Shselasky#define SUNATM_PKT_BEGIN_POS	4	/* Start of ATM packet */
38335640Shselasky
39335640Shselasky/* Protocol type values in the bottom for bits of the byte at SUNATM_DIR_POS. */
40335640Shselasky#define PT_LANE		0x01	/* LANE */
41335640Shselasky#define PT_LLC		0x02	/* LLC encapsulation */
42335640Shselasky#define PT_ILMI		0x05	/* ILMI */
43335640Shselasky#define PT_QSAAL	0x06	/* Q.SAAL */
44