Lines Matching defs:netns_ipvs
826 struct netns_ipvs { struct
827 int gen; /* Generation */
828 int enable; /* enable like nf_hooks do */
834 struct hlist_head rs_table[IP_VS_RTAB_SIZE];
836 struct list_head app_list;
839 struct ip_vs_proto_data *proto_data_table[IP_VS_PROTO_TAB_SIZE];
845 struct list_head tcp_apps[TCP_APP_TAB_SIZE];
852 struct list_head udp_apps[UDP_APP_TAB_SIZE];
860 struct list_head sctp_apps[SCTP_APP_TAB_SIZE];
863 atomic_t conn_count; /* connection counter */
866 struct ip_vs_stats tot_stats; /* Statistics & est. */
868 int num_services; /* no of virtual services */
871 struct list_head dest_trash;
872 spinlock_t dest_trash_lock;
873 struct timer_list dest_trash_timer; /* expiration timer */
875 atomic_t ftpsvc_counter;
876 atomic_t nullsvc_counter;
880 struct delayed_work defense_work; /* Work handler */
881 int drop_rate;
882 int drop_counter;
883 atomic_t dropentry;
885 spinlock_t dropentry_lock; /* drop entry handling */
886 spinlock_t droppacket_lock; /* drop packet handling */
887 spinlock_t securetcp_lock; /* state and timeout tables */
890 struct ctl_table_header *sysctl_hdr;
891 struct ctl_table *sysctl_tbl;
895 int sysctl_amemthresh;
896 int sysctl_am_droprate;
897 int sysctl_drop_entry;
898 int sysctl_drop_packet;
899 int sysctl_secure_tcp;
901 int sysctl_conntrack;
903 int sysctl_snat_reroute;
904 int sysctl_sync_ver;
905 int sysctl_sync_ports;
906 int sysctl_sync_persist_mode;
907 unsigned long sysctl_sync_qlen_max;
908 int sysctl_sync_sock_size;
909 int sysctl_cache_bypass;
910 int sysctl_expire_nodest_conn;
911 int sysctl_sloppy_tcp;
912 int sysctl_sloppy_sctp;
913 int sysctl_expire_quiescent_template;
914 int sysctl_sync_threshold[2];
915 unsigned int sysctl_sync_refresh_period;
916 int sysctl_sync_retries;
917 int sysctl_nat_icmp_send;
918 int sysctl_pmtu_disc;
919 int sysctl_backup_only;
920 int sysctl_conn_reuse_mode;
921 int sysctl_schedule_icmp;
922 int sysctl_ignore_tunneled;
925 int sysctl_lblc_expiration;
926 struct ctl_table_header *lblc_ctl_header;
927 struct ctl_table *lblc_ctl_table;
929 int sysctl_lblcr_expiration;
930 struct ctl_table_header *lblcr_ctl_header;
931 struct ctl_table *lblcr_ctl_table;
933 struct list_head est_list; /* estimator list */
934 spinlock_t est_lock;
935 struct timer_list est_timer; /* Estimation timer */
937 spinlock_t sync_lock;
938 struct ipvs_master_sync_state *ms;
939 spinlock_t sync_buff_lock;
940 struct task_struct **backup_threads;
941 int threads_mask;
942 volatile int sync_state;
943 struct mutex sync_mutex;
944 struct ipvs_sync_daemon_cfg mcfg; /* Master Configuration */
945 struct ipvs_sync_daemon_cfg bcfg; /* Backup Configuration */
970 static inline int sysctl_sync_threshold(struct netns_ipvs *ipvs) in sysctl_sync_threshold() argument