Lines Matching defs:netns_ipvs

829 struct netns_ipvs {  struct
830 int gen; /* Generation */
831 int enable; /* enable like nf_hooks do */
837 struct hlist_head rs_table[IP_VS_RTAB_SIZE];
839 struct list_head app_list;
842 struct ip_vs_proto_data *proto_data_table[IP_VS_PROTO_TAB_SIZE];
848 struct list_head tcp_apps[TCP_APP_TAB_SIZE];
855 struct list_head udp_apps[UDP_APP_TAB_SIZE];
863 struct list_head sctp_apps[SCTP_APP_TAB_SIZE];
866 atomic_t conn_count; /* connection counter */
869 struct ip_vs_stats tot_stats; /* Statistics & est. */
871 int num_services; /* no of virtual services */
874 struct list_head dest_trash;
875 spinlock_t dest_trash_lock;
876 struct timer_list dest_trash_timer; /* expiration timer */
878 atomic_t ftpsvc_counter;
879 atomic_t nullsvc_counter;
880 atomic_t conn_out_counter;
884 struct delayed_work defense_work; /* Work handler */
885 int drop_rate;
886 int drop_counter;
887 atomic_t dropentry;
889 spinlock_t dropentry_lock; /* drop entry handling */
890 spinlock_t droppacket_lock; /* drop packet handling */
891 spinlock_t securetcp_lock; /* state and timeout tables */
894 struct ctl_table_header *sysctl_hdr;
895 struct ctl_table *sysctl_tbl;
899 int sysctl_amemthresh;
900 int sysctl_am_droprate;
901 int sysctl_drop_entry;
902 int sysctl_drop_packet;
903 int sysctl_secure_tcp;
905 int sysctl_conntrack;
907 int sysctl_snat_reroute;
908 int sysctl_sync_ver;
909 int sysctl_sync_ports;
910 int sysctl_sync_persist_mode;
911 unsigned long sysctl_sync_qlen_max;
912 int sysctl_sync_sock_size;
913 int sysctl_cache_bypass;
914 int sysctl_expire_nodest_conn;
915 int sysctl_sloppy_tcp;
916 int sysctl_sloppy_sctp;
917 int sysctl_expire_quiescent_template;
918 int sysctl_sync_threshold[2];
919 unsigned int sysctl_sync_refresh_period;
920 int sysctl_sync_retries;
921 int sysctl_nat_icmp_send;
922 int sysctl_pmtu_disc;
923 int sysctl_backup_only;
924 int sysctl_conn_reuse_mode;
925 int sysctl_schedule_icmp;
926 int sysctl_ignore_tunneled;
929 int sysctl_lblc_expiration;
930 struct ctl_table_header *lblc_ctl_header;
931 struct ctl_table *lblc_ctl_table;
933 int sysctl_lblcr_expiration;
934 struct ctl_table_header *lblcr_ctl_header;
935 struct ctl_table *lblcr_ctl_table;
937 struct list_head est_list; /* estimator list */
938 spinlock_t est_lock;
939 struct timer_list est_timer; /* Estimation timer */
941 spinlock_t sync_lock;
942 struct ipvs_master_sync_state *ms;
943 spinlock_t sync_buff_lock;
944 struct task_struct **backup_threads;
945 int threads_mask;
946 volatile int sync_state;
947 struct mutex sync_mutex;
948 struct ipvs_sync_daemon_cfg mcfg; /* Master Configuration */
949 struct ipvs_sync_daemon_cfg bcfg; /* Backup Configuration */
974 static inline int sysctl_sync_threshold(struct netns_ipvs *ipvs) in sysctl_sync_threshold() argument