xref: /openbsd-src/usr.sbin/tcpdump/ethertype.h (revision b725ae7711052a2233e31a66fefb8a752c388d7a)
1 /*	$OpenBSD: ethertype.h,v 1.9 2000/10/03 14:31:54 ho Exp $	*/
2 
3 /*
4  * Copyright (c) 1993, 1994, 1996
5  *	The Regents of the University of California.  All rights reserved.
6  *
7  * Redistribution and use in source and binary forms, with or without
8  * modification, are permitted provided that: (1) source code distributions
9  * retain the above copyright notice and this paragraph in its entirety, (2)
10  * distributions including binary code include the above copyright notice and
11  * this paragraph in its entirety in the documentation or other materials
12  * provided with the distribution, and (3) all advertising materials mentioning
13  * features or use of this software display the following acknowledgement:
14  * ``This product includes software developed by the University of California,
15  * Lawrence Berkeley Laboratory and its contributors.'' Neither the name of
16  * the University nor the names of its contributors may be used to endorse
17  * or promote products derived from this software without specific prior
18  * written permission.
19  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
20  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
21  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
22  *
23  * @(#) $Header: /home/cvs/src/usr.sbin/tcpdump/ethertype.h,v 1.9 2000/10/03 14:31:54 ho Exp $ (LBL)
24  */
25 
26 /* Types missing from some systems */
27 
28 #ifndef ETHERTYPE_NS
29 #define ETHERTYPE_NS		0x0600
30 #endif
31 #ifndef	ETHERTYPE_SPRITE
32 #define	ETHERTYPE_SPRITE	0x0500
33 #endif
34 #ifndef ETHERTYPE_TRAIL
35 #define ETHERTYPE_TRAIL		0x1000
36 #endif
37 #ifndef	ETHERTYPE_MOPDL
38 #define	ETHERTYPE_MOPDL		0x6001
39 #endif
40 #ifndef	ETHERTYPE_MOPRC
41 #define	ETHERTYPE_MOPRC		0x6002
42 #endif
43 #ifndef	ETHERTYPE_DN
44 #define	ETHERTYPE_DN		0x6003
45 #endif
46 #ifndef	ETHERTYPE_LAT
47 #define	ETHERTYPE_LAT		0x6004
48 #endif
49 #ifndef ETHERTYPE_SCA
50 #define ETHERTYPE_SCA		0x6007
51 #endif
52 #ifndef ETHERTYPE_REVARP
53 #define ETHERTYPE_REVARP	0x8035
54 #endif
55 #ifndef	ETHERTYPE_LANBRIDGE
56 #define	ETHERTYPE_LANBRIDGE	0x8038
57 #endif
58 #ifndef	ETHERTYPE_DECDNS
59 #define	ETHERTYPE_DECDNS	0x803c
60 #endif
61 #ifndef	ETHERTYPE_DECDTS
62 #define	ETHERTYPE_DECDTS	0x803e
63 #endif
64 #ifndef	ETHERTYPE_VEXP
65 #define	ETHERTYPE_VEXP		0x805b
66 #endif
67 #ifndef	ETHERTYPE_VPROD
68 #define	ETHERTYPE_VPROD		0x805c
69 #endif
70 #ifndef ETHERTYPE_ATALK
71 #define ETHERTYPE_ATALK		0x809b
72 #endif
73 #ifndef ETHERTYPE_AARP
74 #define ETHERTYPE_AARP		0x80f3
75 #endif
76 #ifndef	ETHERTYPE_LOOPBACK
77 #define	ETHERTYPE_LOOPBACK	0x9000
78 #endif
79