Lines Matching defs:netns_ipvs

896 struct netns_ipvs {  struct
897 int gen; /* Generation */
898 int enable; /* enable like nf_hooks do */
904 struct hlist_head rs_table[IP_VS_RTAB_SIZE];
906 struct list_head app_list;
909 struct ip_vs_proto_data *proto_data_table[IP_VS_PROTO_TAB_SIZE];
915 struct list_head tcp_apps[TCP_APP_TAB_SIZE];
922 struct list_head udp_apps[UDP_APP_TAB_SIZE];
930 struct list_head sctp_apps[SCTP_APP_TAB_SIZE];
933 atomic_t conn_count; /* connection counter */
936 struct ip_vs_stats_rcu *tot_stats; /* Statistics & est. */
938 int num_services; /* no of virtual services */
939 int num_services6; /* IPv6 virtual services */
942 struct list_head dest_trash;
943 spinlock_t dest_trash_lock;
944 struct timer_list dest_trash_timer; /* expiration timer */
946 atomic_t ftpsvc_counter;
947 atomic_t nullsvc_counter;
948 atomic_t conn_out_counter;
952 struct delayed_work expire_nodest_conn_work;
954 struct delayed_work defense_work; /* Work handler */
955 int drop_rate;
956 int drop_counter;
957 int old_secure_tcp;
958 atomic_t dropentry;
960 spinlock_t dropentry_lock; /* drop entry handling */
961 spinlock_t droppacket_lock; /* drop packet handling */
962 spinlock_t securetcp_lock; /* state and timeout tables */
965 struct ctl_table_header *sysctl_hdr;
966 struct ctl_table *sysctl_tbl;
970 int sysctl_amemthresh;
971 int sysctl_am_droprate;
972 int sysctl_drop_entry;
973 int sysctl_drop_packet;
974 int sysctl_secure_tcp;
976 int sysctl_conntrack;
978 int sysctl_snat_reroute;
979 int sysctl_sync_ver;
980 int sysctl_sync_ports;
981 int sysctl_sync_persist_mode;
982 unsigned long sysctl_sync_qlen_max;
983 int sysctl_sync_sock_size;
984 int sysctl_cache_bypass;
985 int sysctl_expire_nodest_conn;
986 int sysctl_sloppy_tcp;
987 int sysctl_sloppy_sctp;
988 int sysctl_expire_quiescent_template;
989 int sysctl_sync_threshold[2];
990 unsigned int sysctl_sync_refresh_period;
991 int sysctl_sync_retries;
992 int sysctl_nat_icmp_send;
993 int sysctl_pmtu_disc;
994 int sysctl_backup_only;
995 int sysctl_conn_reuse_mode;
996 int sysctl_schedule_icmp;
997 int sysctl_ignore_tunneled;
998 int sysctl_run_estimation;
1000 cpumask_var_t sysctl_est_cpulist; /* kthread cpumask */
1001 int est_cpulist_valid; /* cpulist set */
1002 int sysctl_est_nice; /* kthread nice */
1003 int est_stopped; /* stop tasks */
1007 int sysctl_lblc_expiration;
1008 struct ctl_table_header *lblc_ctl_header;
1009 struct ctl_table *lblc_ctl_table;
1011 int sysctl_lblcr_expiration;
1012 struct ctl_table_header *lblcr_ctl_header;
1013 struct ctl_table *lblcr_ctl_table;
1015 struct delayed_work est_reload_work;/* Reload kthread tasks */
1016 struct mutex est_mutex; /* protect kthread tasks */
1017 struct hlist_head est_temp_list; /* Ests during calc phase */
1018 struct ip_vs_est_kt_data **est_kt_arr; /* Array of kthread data ptrs */
1019 unsigned long est_max_threads;/* Hard limit of kthreads */
1020 int est_calc_phase; /* Calculation phase */
1021 int est_chain_max; /* Calculated chain_max */
1022 int est_kt_count; /* Allocated ptrs */
1023 int est_add_ktid; /* ktid where to add ests */
1024 atomic_t est_genid; /* kthreads reload genid */
1025 atomic_t est_genid_done; /* applied genid */
1027 spinlock_t sync_lock;
1028 struct ipvs_master_sync_state *ms;
1029 spinlock_t sync_buff_lock;
1030 struct ip_vs_sync_thread_data *master_tinfo;
1031 struct ip_vs_sync_thread_data *backup_tinfo;
1032 int threads_mask;
1033 volatile int sync_state;
1034 struct mutex sync_mutex;
1035 struct ipvs_sync_daemon_cfg mcfg; /* Master Configuration */
1036 struct ipvs_sync_daemon_cfg bcfg; /* Backup Configuration */
1038 struct net *net; /* Needed by timer routines */
1062 static inline int sysctl_sync_threshold(struct netns_ipvs *ipvs) in sysctl_sync_threshold() argument