aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/netfilter_bridge
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/netfilter_bridge
parentMerge branch 'qlcnic' (diff)
downloadlinux-dev-e216975ad97cfcfc436789aa66d59a0e93f337f7.tar.xz
linux-dev-e216975ad97cfcfc436789aa66d59a0e93f337f7.zip
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/netfilter_bridge')
-rw-r--r--include/uapi/linux/netfilter_bridge/ebt_802_3.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/uapi/linux/netfilter_bridge/ebt_802_3.h b/include/uapi/linux/netfilter_bridge/ebt_802_3.h
index 5bf84912a082..f37522aade24 100644
--- a/include/uapi/linux/netfilter_bridge/ebt_802_3.h
+++ b/include/uapi/linux/netfilter_bridge/ebt_802_3.h
@@ -2,6 +2,7 @@
#define _UAPI__LINUX_BRIDGE_EBT_802_3_H
#include <linux/types.h>
+#include <linux/if_ether.h>
#define EBT_802_3_SAP 0x01
#define EBT_802_3_TYPE 0x02
@@ -42,8 +43,8 @@ struct hdr_ni {
};
struct ebt_802_3_hdr {
- __u8 daddr[6];
- __u8 saddr[6];
+ __u8 daddr[ETH_ALEN];
+ __u8 saddr[ETH_ALEN];
__be16 len;
union {
struct hdr_ui ui;