diff options
Diffstat (limited to 'libc/kernel/uapi/linux/if_ether.h')
-rw-r--r-- | libc/kernel/uapi/linux/if_ether.h | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/libc/kernel/uapi/linux/if_ether.h b/libc/kernel/uapi/linux/if_ether.h index 610f70b4d..bc032cc42 100644 --- a/libc/kernel/uapi/linux/if_ether.h +++ b/libc/kernel/uapi/linux/if_ether.h @@ -62,12 +62,12 @@ #define ETH_P_SLOW 0x8809 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define ETH_P_WCCP 0x883E -#define ETH_P_PPP_DISC 0x8863 -#define ETH_P_PPP_SES 0x8864 #define ETH_P_MPLS_UC 0x8847 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define ETH_P_MPLS_MC 0x8848 #define ETH_P_ATMMPOA 0x884c +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define ETH_P_PPP_DISC 0x8863 +#define ETH_P_PPP_SES 0x8864 #define ETH_P_LINK_CTL 0x886c #define ETH_P_ATMFATE 0x8884 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ @@ -86,48 +86,51 @@ #define ETH_P_TDLS 0x890D #define ETH_P_FIP 0x8914 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define ETH_P_80221 0x8917 +#define ETH_P_LOOPBACK 0x9000 #define ETH_P_QINQ1 0x9100 #define ETH_P_QINQ2 0x9200 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define ETH_P_QINQ3 0x9300 #define ETH_P_EDSA 0xDADA -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define ETH_P_AF_IUCV 0xFBFB #define ETH_P_802_3_MIN 0x0600 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define ETH_P_802_3 0x0001 #define ETH_P_AX25 0x0002 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define ETH_P_ALL 0x0003 #define ETH_P_802_2 0x0004 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define ETH_P_SNAP 0x0005 #define ETH_P_DDCMP 0x0006 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define ETH_P_WAN_PPP 0x0007 #define ETH_P_PPP_MP 0x0008 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define ETH_P_LOCALTALK 0x0009 #define ETH_P_CAN 0x000C -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define ETH_P_CANFD 0x000D #define ETH_P_PPPTALK 0x0010 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define ETH_P_TR_802_2 0x0011 #define ETH_P_MOBITEX 0x0015 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define ETH_P_CONTROL 0x0016 #define ETH_P_IRDA 0x0017 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define ETH_P_ECONET 0x0018 #define ETH_P_HDLC 0x0019 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define ETH_P_ARCNET 0x001A #define ETH_P_DSA 0x001B +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define ETH_P_TRAILER 0x001C #define ETH_P_PHONET 0x00F5 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define ETH_P_IEEE802154 0x00F6 #define ETH_P_CAIF 0x00F7 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define ETH_P_XDSA 0x00F8 struct ethhdr { - unsigned char h_dest[ETH_ALEN]; + unsigned char h_dest[ETH_ALEN]; + unsigned char h_source[ETH_ALEN]; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned char h_source[ETH_ALEN]; - __be16 h_proto; + __be16 h_proto; } __attribute__((packed)); #endif -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |