summaryrefslogtreecommitdiff
path: root/include/uapi/linux/dn.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-08-01 16:17:47 -0700
committerDavid S. Miller <davem@davemloft.net>2013-08-02 12:33:54 -0700
commite216975ad97cfcfc436789aa66d59a0e93f337f7 (patch)
tree663a82d6e67757a80f51d4e9dda1c714bb92d6a6 /include/uapi/linux/dn.h
parentbd3f5433255292d8d5080b532e729a577ec4912c (diff)
uapi: Convert some uses of 6 to ETH_ALEN
Use the #define where appropriate. Add #include <linux/if_ether.h> where appropriate too. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/dn.h')
-rw-r--r--include/uapi/linux/dn.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/uapi/linux/dn.h b/include/uapi/linux/dn.h
index 9c50445462d9..5fbdd3d49eba 100644
--- a/include/uapi/linux/dn.h
+++ b/include/uapi/linux/dn.h
@@ -2,6 +2,7 @@
#define _LINUX_DN_H
#include <linux/types.h>
+#include <linux/if_ether.h>
/*
@@ -120,7 +121,7 @@ struct linkinfo_dn {
* Ethernet address format (for DECnet)
*/
union etheraddress {
- __u8 dne_addr[6]; /* Full ethernet address */
+ __u8 dne_addr[ETH_ALEN]; /* Full ethernet address */
struct {
__u8 dne_hiord[4]; /* DECnet HIORD prefix */
__u8 dne_nodeaddr[2]; /* DECnet node address */