diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2011-09-08 17:00:49 +0200 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2011-09-08 17:00:49 +0200 |
commit | 62fc25fd1625f0f65b9eed3e15fe929dd0aff2c5 (patch) | |
tree | 454897aba88119dfe9aa550813aea8ef891d64f2 /include/linux/netfilter_ipv4/ipt_CLUSTERIP.h | |
parent | 891d5790b3f4caeed80f1449d280617c54df8837 (diff) | |
parent | dbe77cc974cee656eae37e75039dd1a410a4535b (diff) |
Merge branch 'master' of git://dev.medozas.de/iptables
Diffstat (limited to 'include/linux/netfilter_ipv4/ipt_CLUSTERIP.h')
-rw-r--r-- | include/linux/netfilter_ipv4/ipt_CLUSTERIP.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/include/linux/netfilter_ipv4/ipt_CLUSTERIP.h b/include/linux/netfilter_ipv4/ipt_CLUSTERIP.h index e5a3687c..c6a204c9 100644 --- a/include/linux/netfilter_ipv4/ipt_CLUSTERIP.h +++ b/include/linux/netfilter_ipv4/ipt_CLUSTERIP.h @@ -1,6 +1,8 @@ #ifndef _IPT_CLUSTERIP_H_target #define _IPT_CLUSTERIP_H_target +#include <linux/types.h> + enum clusterip_hashmode { CLUSTERIP_HASHMODE_SIP = 0, CLUSTERIP_HASHMODE_SIP_SPT, @@ -17,15 +19,15 @@ struct clusterip_config; struct ipt_clusterip_tgt_info { - u_int32_t flags; + __u32 flags; /* only relevant for new ones */ - u_int8_t clustermac[6]; - u_int16_t num_total_nodes; - u_int16_t num_local_nodes; - u_int16_t local_nodes[CLUSTERIP_MAX_NODES]; - u_int32_t hash_mode; - u_int32_t hash_initval; + __u8 clustermac[6]; + __u16 num_total_nodes; + __u16 num_local_nodes; + __u16 local_nodes[CLUSTERIP_MAX_NODES]; + __u32 hash_mode; + __u32 hash_initval; /* Used internally by the kernel */ struct clusterip_config *config; |