1/**************************************************************************** 2 **************************************************************************** 3 *** 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. 9 *** 10 *** To edit the content of this header, modify the corresponding 11 *** source file (e.g. under external/kernel-headers/original/) then 12 *** run bionic/libc/kernel/tools/update_all.py 13 *** 14 *** Any manual change here will be lost the next time this script will 15 *** be run. You've been warned! 16 *** 17 **************************************************************************** 18 ****************************************************************************/ 19#ifndef _LINUX_IF_ARCNET_H 20#define _LINUX_IF_ARCNET_H 21#include <linux/if_ether.h> 22#define ARC_P_IP 212 23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24#define ARC_P_IPV6 196 25#define ARC_P_ARP 213 26#define ARC_P_RARP 214 27#define ARC_P_IPX 250 28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29#define ARC_P_NOVELL_EC 236 30#define ARC_P_IP_RFC1051 240 31#define ARC_P_ARP_RFC1051 241 32#define ARC_P_ETHER 232 33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34#define ARC_P_DATAPOINT_BOOT 0 35#define ARC_P_DATAPOINT_MOUNT 1 36#define ARC_P_POWERLAN_BEACON 8 37#define ARC_P_POWERLAN_BEACON2 243 38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39#define ARC_P_LANSOFT 251 40#define ARC_P_ATALK 0xDD 41#define ARCNET_ALEN 1 42struct arc_rfc1201 43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44{ 45 uint8_t proto; 46 uint8_t split_flag; 47 uint16_t sequence; 48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49 uint8_t payload[0]; 50}; 51#define RFC1201_HDR_SIZE 4 52struct arc_rfc1051 53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54{ 55 uint8_t proto; 56 uint8_t payload[0]; 57}; 58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59#define RFC1051_HDR_SIZE 1 60struct arc_eth_encap 61{ 62 uint8_t proto; 63/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64 struct ethhdr eth; 65 uint8_t payload[0]; 66}; 67#define ETH_ENCAP_HDR_SIZE 14 68/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 69struct arc_cap 70{ 71 uint8_t proto; 72 uint8_t cookie[sizeof(int)]; 73/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 74 union { 75 uint8_t ack; 76 uint8_t raw[0]; 77 } mes; 78/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 79}; 80struct arc_hardware 81{ 82 uint8_t source, 83/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 84 dest, 85 offset[2]; 86}; 87#define ARC_HDR_SIZE 4 88/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 89struct archdr 90{ 91 struct arc_hardware hard; 92 union { 93/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 94 struct arc_rfc1201 rfc1201; 95 struct arc_rfc1051 rfc1051; 96 struct arc_eth_encap eth_encap; 97 struct arc_cap cap; 98/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 99 uint8_t raw[0]; 100 } soft; 101}; 102#endif 103/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 104