1 /****************************************************************************
2 ****************************************************************************
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
10 ****************************************************************************
11 ****************************************************************************/
12 #ifndef _LINUX_IF_ARCNET_H
13 #define _LINUX_IF_ARCNET_H
15 #include <linux/if_ether.h>
18 #define ARC_P_IPV6 196
20 #define ARC_P_RARP 214
22 #define ARC_P_NOVELL_EC 236
24 #define ARC_P_IP_RFC1051 240
25 #define ARC_P_ARP_RFC1051 241
27 #define ARC_P_ETHER 232
29 #define ARC_P_DATAPOINT_BOOT 0
30 #define ARC_P_DATAPOINT_MOUNT 1
31 #define ARC_P_POWERLAN_BEACON 8
32 #define ARC_P_POWERLAN_BEACON2 243
33 #define ARC_P_LANSOFT 251
34 #define ARC_P_ATALK 0xDD
45 #define RFC1201_HDR_SIZE 4
52 #define RFC1051_HDR_SIZE 1
60 #define ETH_ENCAP_HDR_SIZE 14
65 uint8_t cookie[sizeof(int)];
78 #define ARC_HDR_SIZE 4
83 struct arc_hardware hard;
86 struct arc_rfc1201 rfc1201;
87 struct arc_rfc1051 rfc1051;
88 struct arc_eth_encap eth_encap;