diff options
Diffstat (limited to 'include/linux/if_ether.h')
| -rw-r--r-- | include/linux/if_ether.h | 4 | 
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/if_ether.h b/include/linux/if_ether.h index c831467774d0..f9c3df03db0f 100644 --- a/include/linux/if_ether.h +++ b/include/linux/if_ether.h  | |||
| @@ -119,7 +119,7 @@ struct ethhdr { | |||
| 119 | unsigned char h_dest[ETH_ALEN]; /* destination eth addr */ | 119 | unsigned char h_dest[ETH_ALEN]; /* destination eth addr */ | 
| 120 | unsigned char h_source[ETH_ALEN]; /* source ether addr */ | 120 | unsigned char h_source[ETH_ALEN]; /* source ether addr */ | 
| 121 | __be16 h_proto; /* packet type ID field */ | 121 | __be16 h_proto; /* packet type ID field */ | 
| 122 | } __packed; | 122 | } __attribute__((packed)); | 
| 123 | 123 | ||
| 124 | #ifdef __KERNEL__ | 124 | #ifdef __KERNEL__ | 
| 125 | #include <linux/skbuff.h> | 125 | #include <linux/skbuff.h> | 
| @@ -137,8 +137,6 @@ extern struct ctl_table ether_table[]; | |||
| 137 | 137 | ||
| 138 | extern ssize_t sysfs_format_mac(char *buf, const unsigned char *addr, int len); | 138 | extern ssize_t sysfs_format_mac(char *buf, const unsigned char *addr, int len); | 
| 139 | 139 | ||
| 140 | #define MAC_FMT "%02x:%02x:%02x:%02x:%02x:%02x" | ||
| 141 | |||
| 142 | #endif | 140 | #endif | 
| 143 | 141 | ||
| 144 | #endif /* _LINUX_IF_ETHER_H */ | 142 | #endif /* _LINUX_IF_ETHER_H */ | 
