Dr Andrew Scott G7VAV

My photo
 
June 2025
Mo Tu We Th Fr Sa Su
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 1 2 3 4 5 6


ipt_CLUSTERIP.h
01: #ifndef _IPT_CLUSTERIP_H_target
02: #define _IPT_CLUSTERIP_H_target
03: 
04: #include <linux/types.h>
05: 
06: enum clusterip_hashmode {
07:     CLUSTERIP_HASHMODE_SIP = 0,
08:     CLUSTERIP_HASHMODE_SIP_SPT,
09:     CLUSTERIP_HASHMODE_SIP_SPT_DPT,
10: };
11: 
12: #define CLUSTERIP_HASHMODE_MAX CLUSTERIP_HASHMODE_SIP_SPT_DPT
13: 
14: #define CLUSTERIP_MAX_NODES 16
15: 
16: #define CLUSTERIP_FLAG_NEW 0x00000001
17: 
18: struct clusterip_config;
19: 
20: struct ipt_clusterip_tgt_info {
21: 
22:         __u32 flags;
23: 
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;
31: 
32:         /* Used internally by the kernel */
33:         struct clusterip_config *config;
34: };
35: 
36: #endif /*_IPT_CLUSTERIP_H_target*/
37: 


for client (none)
© Andrew Scott 2006 - 2025,
All Rights Reserved
http://www.andrew-scott.uk/
Andrew Scott
http://www.andrew-scott.co.uk/