diff options
author | Joe Perches <joe@perches.com> | 2013-08-01 16:17:47 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-02 12:33:54 -0700 |
commit | e216975ad97cfcfc436789aa66d59a0e93f337f7 (patch) | |
tree | 663a82d6e67757a80f51d4e9dda1c714bb92d6a6 /include/uapi/linux/if_bridge.h | |
parent | bd3f5433255292d8d5080b532e729a577ec4912c (diff) | |
download | op-kernel-dev-e216975ad97cfcfc436789aa66d59a0e93f337f7.zip op-kernel-dev-e216975ad97cfcfc436789aa66d59a0e93f337f7.tar.gz |
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/if_bridge.h')
-rw-r--r-- | include/uapi/linux/if_bridge.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/uapi/linux/if_bridge.h b/include/uapi/linux/if_bridge.h index 2d70d79..39f621a 100644 --- a/include/uapi/linux/if_bridge.h +++ b/include/uapi/linux/if_bridge.h @@ -14,6 +14,7 @@ #define _UAPI_LINUX_IF_BRIDGE_H #include <linux/types.h> +#include <linux/if_ether.h> #define SYSFS_BRIDGE_ATTR "bridge" #define SYSFS_BRIDGE_FDB "brforward" @@ -88,7 +89,7 @@ struct __port_info { }; struct __fdb_entry { - __u8 mac_addr[6]; + __u8 mac_addr[ETH_ALEN]; __u8 port_no; __u8 is_local; __u32 ageing_timer_value; |