ELF loader support for auxvec base platform string
[deliverable/linux.git] / include / linux / netfilter_ipv4 / ipt_CLUSTERIP.h
CommitLineData
1da177e4
LT
1#ifndef _IPT_CLUSTERIP_H_target
2#define _IPT_CLUSTERIP_H_target
3
4enum clusterip_hashmode {
5 CLUSTERIP_HASHMODE_SIP = 0,
6 CLUSTERIP_HASHMODE_SIP_SPT,
7 CLUSTERIP_HASHMODE_SIP_SPT_DPT,
8};
9
10#define CLUSTERIP_HASHMODE_MAX CLUSTERIP_HASHMODE_SIP_SPT_DPT
11
12#define CLUSTERIP_MAX_NODES 16
13
14#define CLUSTERIP_FLAG_NEW 0x00000001
15
16struct clusterip_config;
17
18struct ipt_clusterip_tgt_info {
19
20 u_int32_t flags;
d3c3f424 21
1da177e4
LT
22 /* only relevant for new ones */
23 u_int8_t clustermac[6];
24 u_int16_t num_total_nodes;
25 u_int16_t num_local_nodes;
26 u_int16_t local_nodes[CLUSTERIP_MAX_NODES];
d3c3f424 27 u_int32_t hash_mode;
1da177e4 28 u_int32_t hash_initval;
dd7f0b80 29
8b6f3f62 30 /* Used internally by the kernel */
dd7f0b80 31 struct clusterip_config *config;
1da177e4
LT
32};
33
34#endif /*_IPT_CLUSTERIP_H_target*/
This page took 0.520507 seconds and 5 git commands to generate.