xref: /netbsd-src/external/bsd/libpcap/dist/arcnet.h (revision d91862193cb08ee6c7aaa73f39feb1e7537c9c5c)
1*d9186219Schristos /*	$NetBSD: arcnet.h,v 1.2 2014/11/19 19:33:30 christos Exp $	*/
2*d9186219Schristos 
3bf1df6d1Schristos /*
4bf1df6d1Schristos  * Copyright (c) 1982, 1986, 1993
5bf1df6d1Schristos  *	The Regents of the University of California.  All rights reserved.
6bf1df6d1Schristos  *
7bf1df6d1Schristos  * Redistribution and use in source and binary forms, with or without
8bf1df6d1Schristos  * modification, are permitted provided that the following conditions
9bf1df6d1Schristos  * are met:
10bf1df6d1Schristos  * 1. Redistributions of source code must retain the above copyright
11bf1df6d1Schristos  *    notice, this list of conditions and the following disclaimer.
12bf1df6d1Schristos  * 2. Redistributions in binary form must reproduce the above copyright
13bf1df6d1Schristos  *    notice, this list of conditions and the following disclaimer in the
14bf1df6d1Schristos  *    documentation and/or other materials provided with the distribution.
15bf1df6d1Schristos  * 3. All advertising materials mentioning features or use of this software
16bf1df6d1Schristos  *    must display the following acknowledgement:
17bf1df6d1Schristos  *	This product includes software developed by the University of
18bf1df6d1Schristos  *	California, Berkeley and its contributors.
19bf1df6d1Schristos  * 4. Neither the name of the University nor the names of its contributors
20bf1df6d1Schristos  *    may be used to endorse or promote products derived from this software
21bf1df6d1Schristos  *    without specific prior written permission.
22bf1df6d1Schristos  *
23bf1df6d1Schristos  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
24bf1df6d1Schristos  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25bf1df6d1Schristos  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26bf1df6d1Schristos  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
27bf1df6d1Schristos  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28bf1df6d1Schristos  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29bf1df6d1Schristos  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30bf1df6d1Schristos  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31bf1df6d1Schristos  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32bf1df6d1Schristos  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33bf1df6d1Schristos  * SUCH DAMAGE.
34bf1df6d1Schristos  *
35bf1df6d1Schristos  * from: NetBSD: if_arc.h,v 1.13 1999/11/19 20:41:19 thorpej Exp
36bf1df6d1Schristos  */
37bf1df6d1Schristos 
38bf1df6d1Schristos /* RFC 1051 */
39bf1df6d1Schristos #define	ARCTYPE_IP_OLD		240	/* IP protocol */
40bf1df6d1Schristos #define	ARCTYPE_ARP_OLD		241	/* address resolution protocol */
41bf1df6d1Schristos 
42bf1df6d1Schristos /* RFC 1201 */
43bf1df6d1Schristos #define	ARCTYPE_IP		212	/* IP protocol */
44bf1df6d1Schristos #define	ARCTYPE_ARP		213	/* address resolution protocol */
45bf1df6d1Schristos #define	ARCTYPE_REVARP		214	/* reverse addr resolution protocol */
46bf1df6d1Schristos 
47bf1df6d1Schristos #define	ARCTYPE_ATALK		221	/* Appletalk */
48bf1df6d1Schristos #define	ARCTYPE_BANIAN		247	/* Banyan Vines */
49bf1df6d1Schristos #define	ARCTYPE_IPX		250	/* Novell IPX */
50bf1df6d1Schristos 
51bf1df6d1Schristos #define ARCTYPE_INET6		0xc4	/* IPng */
52bf1df6d1Schristos #define ARCTYPE_DIAGNOSE	0x80	/* as per ANSI/ATA 878.1 */
53