arcnet.h revision 478ab6c8b5bc982589be32eae1e5736efe721b58
19682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* 29682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall * Copyright (c) 1982, 1986, 1993 39682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall * The Regents of the University of California. All rights reserved. 49682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall * 59682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall * Redistribution and use in source and binary forms, with or without 69682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall * modification, are permitted provided that the following conditions 79682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall * are met: 89682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall * 1. Redistributions of source code must retain the above copyright 99682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall * notice, this list of conditions and the following disclaimer. 109682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall * 2. Redistributions in binary form must reproduce the above copyright 119682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall * notice, this list of conditions and the following disclaimer in the 129682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall * documentation and/or other materials provided with the distribution. 139682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall * 3. All advertising materials mentioning features or use of this software 149682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall * must display the following acknowledgement: 159682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall * This product includes software developed by the University of 169682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall * California, Berkeley and its contributors. 179682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall * 4. Neither the name of the University nor the names of its contributors 189682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall * may be used to endorse or promote products derived from this software 199682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall * without specific prior written permission. 209682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall * 219682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 229682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 239682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 249682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 259682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 269682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 279682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 289682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 299682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 309682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 319682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall * SUCH DAMAGE. 329682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall * 339682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall * @(#) $Id: arcnet.h,v 1.2 2001/04/24 02:17:52 guy Exp $ (LBL) 349682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall * 359682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall * from: NetBSD: if_arc.h,v 1.13 1999/11/19 20:41:19 thorpej Exp 369682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall */ 379682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall 389682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* RFC 1051 */ 399682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define ARCTYPE_IP_OLD 240 /* IP protocol */ 409682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define ARCTYPE_ARP_OLD 241 /* address resolution protocol */ 419682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall 429682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* RFC 1201 */ 439682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define ARCTYPE_IP 212 /* IP protocol */ 449682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define ARCTYPE_ARP 213 /* address resolution protocol */ 459682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define ARCTYPE_REVARP 214 /* reverse addr resolution protocol */ 469682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall 479682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define ARCTYPE_ATALK 221 /* Appletalk */ 489682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define ARCTYPE_BANIAN 247 /* Banyan Vines */ 499682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define ARCTYPE_IPX 250 /* Novell IPX */ 509682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall 519682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define ARCTYPE_INET6 0xc4 /* IPng */ 529682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define ARCTYPE_DIAGNOSE 0x80 /* as per ANSI/ATA 878.1 */ 539682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall