Import 2.3.25pre1
[davej-history.git] / include / linux / if_arcnet.h
blob8b2ba0aaef450fc70abdcea97ffb349bc6086c8c
1 /*
2 * INET An implementation of the TCP/IP protocol suite for the LINUX
3 * operating system. INET is implemented using the BSD Socket
4 * interface as the means of communication with the user level.
6 * Global definitions for the ARCnet interface.
8 * Version: $Id: if_arcnet.h,v 1.2 1997/09/05 08:57:54 mj Exp $
10 * Author: David Woodhouse <dwmw2@cam.ac.uk>
11 * Avery Pennarun <apenwarr@bond.net>
13 * This program is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU General Public License
15 * as published by the Free Software Foundation; either version
16 * 2 of the License, or (at your option) any later version.
19 #ifndef _LINUX_IF_ARCNET_H
20 #define _LINUX_IF_ARCNET_H
24 * These are the defined ARCnet Protocol ID's.
27 /* RFC1201 Protocol ID's */
28 #define ARC_P_IP 212 /* 0xD4 */
29 #define ARC_P_ARP 213 /* 0xD5 */
30 #define ARC_P_RARP 214 /* 0xD6 */
31 #define ARC_P_IPX 250 /* 0xFA */
32 #define ARC_P_NOVELL_EC 236 /* 0xEC */
34 /* Old RFC1051 Protocol ID's */
35 #define ARC_P_IP_RFC1051 240 /* 0xF0 */
36 #define ARC_P_ARP_RFC1051 241 /* 0xF1 */
38 /* MS LanMan/WfWg protocol */
39 #define ARC_P_ETHER 0xE8
41 /* Unsupported/indirectly supported protocols */
42 #define ARC_P_DATAPOINT_BOOT 0 /* very old Datapoint equipment */
43 #define ARC_P_DATAPOINT_MOUNT 1
44 #define ARC_P_POWERLAN_BEACON 8 /* Probably ATA-Netbios related */
45 #define ARC_P_POWERLAN_BEACON2 243
46 #define ARC_P_LANSOFT 251 /* 0xFB - what is this? */
47 #define ARC_P_ATALK 0xDD
51 * This is an ARCnet frame header.
54 struct archdr /* was struct HardHeader */
56 u_char source, /* source ARCnet - filled in automagically */
57 destination, /* destination ARCnet - 0 for broadcast */
58 offset1, /* offset of ClientData (256-byte packets) */
59 offset2; /* offset of ClientData (512-byte packets) */
63 #endif /* _LINUX_IF_ARCNET_H */