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/netfilter_ipv4/ipt_CLUSTERIP.h | |
parent | bd3f5433255292d8d5080b532e729a577ec4912c (diff) | |
download | linux-stable-e216975ad97cfcfc436789aa66d59a0e93f337f7.tar.gz linux-stable-e216975ad97cfcfc436789aa66d59a0e93f337f7.tar.bz2 linux-stable-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_ipv4/ipt_CLUSTERIP.h')
-rw-r--r-- | include/uapi/linux/netfilter_ipv4/ipt_CLUSTERIP.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/uapi/linux/netfilter_ipv4/ipt_CLUSTERIP.h b/include/uapi/linux/netfilter_ipv4/ipt_CLUSTERIP.h index c6a204c97047..eac0f6548f47 100644 --- a/include/uapi/linux/netfilter_ipv4/ipt_CLUSTERIP.h +++ b/include/uapi/linux/netfilter_ipv4/ipt_CLUSTERIP.h @@ -2,6 +2,7 @@ #define _IPT_CLUSTERIP_H_target #include <linux/types.h> +#include <linux/if_ether.h> enum clusterip_hashmode { CLUSTERIP_HASHMODE_SIP = 0, @@ -22,7 +23,7 @@ struct ipt_clusterip_tgt_info { __u32 flags; /* only relevant for new ones */ - __u8 clustermac[6]; + __u8 clustermac[ETH_ALEN]; __u16 num_total_nodes; __u16 num_local_nodes; __u16 local_nodes[CLUSTERIP_MAX_NODES]; |