staging: gma500: enable the 2D op stuff
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / linux / netfilter_ipv4 / ipt_CLUSTERIP.h
blobc6a204c97047a671bed64f03230064ef9e174175
1 #ifndef _IPT_CLUSTERIP_H_target
2 #define _IPT_CLUSTERIP_H_target
4 #include <linux/types.h>
6 enum clusterip_hashmode {
7 CLUSTERIP_HASHMODE_SIP = 0,
8 CLUSTERIP_HASHMODE_SIP_SPT,
9 CLUSTERIP_HASHMODE_SIP_SPT_DPT,
12 #define CLUSTERIP_HASHMODE_MAX CLUSTERIP_HASHMODE_SIP_SPT_DPT
14 #define CLUSTERIP_MAX_NODES 16
16 #define CLUSTERIP_FLAG_NEW 0x00000001
18 struct clusterip_config;
20 struct ipt_clusterip_tgt_info {
22 __u32 flags;
24 /* only relevant for new ones */
25 __u8 clustermac[6];
26 __u16 num_total_nodes;
27 __u16 num_local_nodes;
28 __u16 local_nodes[CLUSTERIP_MAX_NODES];
29 __u32 hash_mode;
30 __u32 hash_initval;
32 /* Used internally by the kernel */
33 struct clusterip_config *config;
36 #endif /*_IPT_CLUSTERIP_H_target*/