Lines Matching defs:netns_ipvs
834 struct netns_ipvs { struct
835 int gen; /* Generation */
836 int enable; /* enable like nf_hooks do */
842 struct hlist_head rs_table[IP_VS_RTAB_SIZE];
844 struct list_head app_list;
847 struct ip_vs_proto_data *proto_data_table[IP_VS_PROTO_TAB_SIZE];
853 struct list_head tcp_apps[TCP_APP_TAB_SIZE];
860 struct list_head udp_apps[UDP_APP_TAB_SIZE];
868 struct list_head sctp_apps[SCTP_APP_TAB_SIZE];
871 atomic_t conn_count; /* connection counter */
874 struct ip_vs_stats tot_stats; /* Statistics & est. */
876 int num_services; /* no of virtual services */
879 struct list_head dest_trash;
880 spinlock_t dest_trash_lock;
881 struct timer_list dest_trash_timer; /* expiration timer */
883 atomic_t ftpsvc_counter;
884 atomic_t nullsvc_counter;
885 atomic_t conn_out_counter;
889 struct delayed_work defense_work; /* Work handler */
890 int drop_rate;
891 int drop_counter;
892 int old_secure_tcp;
893 atomic_t dropentry;
895 spinlock_t dropentry_lock; /* drop entry handling */
896 spinlock_t droppacket_lock; /* drop packet handling */
897 spinlock_t securetcp_lock; /* state and timeout tables */
900 struct ctl_table_header *sysctl_hdr;
901 struct ctl_table *sysctl_tbl;
905 int sysctl_amemthresh;
906 int sysctl_am_droprate;
907 int sysctl_drop_entry;
908 int sysctl_drop_packet;
909 int sysctl_secure_tcp;
911 int sysctl_conntrack;
913 int sysctl_snat_reroute;
914 int sysctl_sync_ver;
915 int sysctl_sync_ports;
916 int sysctl_sync_persist_mode;
917 unsigned long sysctl_sync_qlen_max;
918 int sysctl_sync_sock_size;
919 int sysctl_cache_bypass;
920 int sysctl_expire_nodest_conn;
921 int sysctl_sloppy_tcp;
922 int sysctl_sloppy_sctp;
923 int sysctl_expire_quiescent_template;
924 int sysctl_sync_threshold[2];
925 unsigned int sysctl_sync_refresh_period;
926 int sysctl_sync_retries;
927 int sysctl_nat_icmp_send;
928 int sysctl_pmtu_disc;
929 int sysctl_backup_only;
930 int sysctl_conn_reuse_mode;
931 int sysctl_schedule_icmp;
932 int sysctl_ignore_tunneled;
935 int sysctl_lblc_expiration;
936 struct ctl_table_header *lblc_ctl_header;
937 struct ctl_table *lblc_ctl_table;
939 int sysctl_lblcr_expiration;
940 struct ctl_table_header *lblcr_ctl_header;
941 struct ctl_table *lblcr_ctl_table;
943 struct list_head est_list; /* estimator list */
944 spinlock_t est_lock;
945 struct timer_list est_timer; /* Estimation timer */
947 spinlock_t sync_lock;
948 struct ipvs_master_sync_state *ms;
949 spinlock_t sync_buff_lock;
950 struct ip_vs_sync_thread_data *master_tinfo;
951 struct ip_vs_sync_thread_data *backup_tinfo;
952 int threads_mask;
953 volatile int sync_state;
954 struct mutex sync_mutex;
955 struct ipvs_sync_daemon_cfg mcfg; /* Master Configuration */
956 struct ipvs_sync_daemon_cfg bcfg; /* Backup Configuration */
981 static inline int sysctl_sync_threshold(struct netns_ipvs *ipvs) in sysctl_sync_threshold() argument