3 * Data structure for network namspace
10 #include <linux/list.h>
11 #include <linux/mutex.h>
12 #include <linux/list_nulls.h>
13 #include <linux/ip_vs.h>
14 #include <asm/atomic.h>
18 struct ip_vs_sync_buff
;
19 struct ctl_table_header
;
22 int gen
; /* Generation */
24 * Hash table: for real service lookups
26 #define IP_VS_RTAB_BITS 4
27 #define IP_VS_RTAB_SIZE (1 << IP_VS_RTAB_BITS)
28 #define IP_VS_RTAB_MASK (IP_VS_RTAB_SIZE - 1)
30 struct list_head rs_table
[IP_VS_RTAB_SIZE
];
33 int sysctl_lblc_expiration
;
34 struct ctl_table_header
*lblc_ctl_header
;
35 struct ctl_table
*lblc_ctl_table
;
37 int sysctl_lblcr_expiration
;
38 struct ctl_table_header
*lblcr_ctl_header
;
39 struct ctl_table
*lblcr_ctl_table
;