Loading include/uapi/linux/if_arcnet.h +26 −29 Original line number Diff line number Diff line Loading @@ -19,7 +19,6 @@ #include <linux/types.h> #include <linux/if_ether.h> /* * These are the defined ARCnet Protocol ID's. */ Loading Loading @@ -64,7 +63,6 @@ struct arc_rfc1201 { }; #define RFC1201_HDR_SIZE 4 /* * The RFC1051-specific components. */ Loading @@ -74,7 +72,6 @@ struct arc_rfc1051 { }; #define RFC1051_HDR_SIZE 1 /* * The ethernet-encap-specific components. We have a real ethernet header * and some data. Loading @@ -86,10 +83,10 @@ struct arc_eth_encap { }; #define ETH_ENCAP_HDR_SIZE 14 struct arc_cap { __u8 proto; __u8 cookie[sizeof(int)]; /* Actually NOT sent over the network */ __u8 cookie[sizeof(int)]; /* Actually NOT sent over the network */ union { __u8 ack; __u8 raw[0]; /* 507 bytes */ Loading @@ -105,9 +102,9 @@ struct arc_cap { * driver. */ struct arc_hardware { __u8 source, /* source ARCnet - filled in automagically */ dest, /* destination ARCnet - 0 for broadcast */ offset[2]; /* offset bytes (some weird semantics) */ __u8 source; /* source ARCnet - filled in automagically */ __u8 dest; /* destination ARCnet - 0 for broadcast */ __u8 offset[2]; /* offset bytes (some weird semantics) */ }; #define ARC_HDR_SIZE 4 Loading Loading
include/uapi/linux/if_arcnet.h +26 −29 Original line number Diff line number Diff line Loading @@ -19,7 +19,6 @@ #include <linux/types.h> #include <linux/if_ether.h> /* * These are the defined ARCnet Protocol ID's. */ Loading Loading @@ -64,7 +63,6 @@ struct arc_rfc1201 { }; #define RFC1201_HDR_SIZE 4 /* * The RFC1051-specific components. */ Loading @@ -74,7 +72,6 @@ struct arc_rfc1051 { }; #define RFC1051_HDR_SIZE 1 /* * The ethernet-encap-specific components. We have a real ethernet header * and some data. Loading @@ -86,10 +83,10 @@ struct arc_eth_encap { }; #define ETH_ENCAP_HDR_SIZE 14 struct arc_cap { __u8 proto; __u8 cookie[sizeof(int)]; /* Actually NOT sent over the network */ __u8 cookie[sizeof(int)]; /* Actually NOT sent over the network */ union { __u8 ack; __u8 raw[0]; /* 507 bytes */ Loading @@ -105,9 +102,9 @@ struct arc_cap { * driver. */ struct arc_hardware { __u8 source, /* source ARCnet - filled in automagically */ dest, /* destination ARCnet - 0 for broadcast */ offset[2]; /* offset bytes (some weird semantics) */ __u8 source; /* source ARCnet - filled in automagically */ __u8 dest; /* destination ARCnet - 0 for broadcast */ __u8 offset[2]; /* offset bytes (some weird semantics) */ }; #define ARC_HDR_SIZE 4 Loading