xref: /freebsd/contrib/libpcap/llc.h (revision 38f0b757fd84d17d0fc24739a7cda160c4516d81)
1 /*
2  * Copyright (c) 1993, 1994, 1997
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that: (1) source code distributions
7  * retain the above copyright notice and this paragraph in its entirety, (2)
8  * distributions including binary code include the above copyright notice and
9  * this paragraph in its entirety in the documentation or other materials
10  * provided with the distribution, and (3) all advertising materials mentioning
11  * features or use of this software display the following acknowledgement:
12  * ``This product includes software developed by the University of California,
13  * Lawrence Berkeley Laboratory and its contributors.'' Neither the name of
14  * the University nor the names of its contributors may be used to endorse
15  * or promote products derived from this software without specific prior
16  * written permission.
17  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
18  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
19  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
20  *
21  * @(#) $Header: /tcpdump/master/libpcap/llc.h,v 1.2 2001-01-28 09:44:50 guy Exp $ (LBL)
22  */
23 
24 /*
25  * 802.2 LLC SAP values.
26  */
27 
28 #ifndef LLCSAP_NULL
29 #define	LLCSAP_NULL		0x00
30 #endif
31 #ifndef LLCSAP_GLOBAL
32 #define	LLCSAP_GLOBAL		0xff
33 #endif
34 #ifndef LLCSAP_8021B
35 #define	LLCSAP_8021B_I		0x02
36 #endif
37 #ifndef LLCSAP_8021B
38 #define	LLCSAP_8021B_G		0x03
39 #endif
40 #ifndef LLCSAP_IP
41 #define	LLCSAP_IP		0x06
42 #endif
43 #ifndef LLCSAP_PROWAYNM
44 #define	LLCSAP_PROWAYNM		0x0e
45 #endif
46 #ifndef LLCSAP_8021D
47 #define	LLCSAP_8021D		0x42
48 #endif
49 #ifndef LLCSAP_RS511
50 #define	LLCSAP_RS511		0x4e
51 #endif
52 #ifndef LLCSAP_ISO8208
53 #define	LLCSAP_ISO8208		0x7e
54 #endif
55 #ifndef LLCSAP_PROWAY
56 #define	LLCSAP_PROWAY		0x8e
57 #endif
58 #ifndef LLCSAP_SNAP
59 #define	LLCSAP_SNAP		0xaa
60 #endif
61 #ifndef LLCSAP_IPX
62 #define LLCSAP_IPX		0xe0
63 #endif
64 #ifndef LLCSAP_NETBEUI
65 #define LLCSAP_NETBEUI		0xf0
66 #endif
67 #ifndef LLCSAP_ISONS
68 #define	LLCSAP_ISONS		0xfe
69 #endif
70