Lines Matching defs:netns_ipvs

832 struct netns_ipvs {  struct
833 int gen; /* Generation */
834 int enable; /* enable like nf_hooks do */
840 struct hlist_head rs_table[IP_VS_RTAB_SIZE];
842 struct list_head app_list;
845 struct ip_vs_proto_data *proto_data_table[IP_VS_PROTO_TAB_SIZE];
851 struct list_head tcp_apps[TCP_APP_TAB_SIZE];
858 struct list_head udp_apps[UDP_APP_TAB_SIZE];
866 struct list_head sctp_apps[SCTP_APP_TAB_SIZE];
869 atomic_t conn_count; /* connection counter */
872 struct ip_vs_stats tot_stats; /* Statistics & est. */
874 int num_services; /* no of virtual services */
875 int num_services6; /* IPv6 virtual services */
878 struct list_head dest_trash;
879 spinlock_t dest_trash_lock;
880 struct timer_list dest_trash_timer; /* expiration timer */
882 atomic_t ftpsvc_counter;
883 atomic_t nullsvc_counter;
884 atomic_t conn_out_counter;
888 struct delayed_work expire_nodest_conn_work;
890 struct delayed_work defense_work; /* Work handler */
891 int drop_rate;
892 int drop_counter;
893 int old_secure_tcp;
894 atomic_t dropentry;
896 spinlock_t dropentry_lock; /* drop entry handling */
897 spinlock_t droppacket_lock; /* drop packet handling */
898 spinlock_t securetcp_lock; /* state and timeout tables */
901 struct ctl_table_header *sysctl_hdr;
902 struct ctl_table *sysctl_tbl;
906 int sysctl_amemthresh;
907 int sysctl_am_droprate;
908 int sysctl_drop_entry;
909 int sysctl_drop_packet;
910 int sysctl_secure_tcp;
912 int sysctl_conntrack;
914 int sysctl_snat_reroute;
915 int sysctl_sync_ver;
916 int sysctl_sync_ports;
917 int sysctl_sync_persist_mode;
918 unsigned long sysctl_sync_qlen_max;
919 int sysctl_sync_sock_size;
920 int sysctl_cache_bypass;
921 int sysctl_expire_nodest_conn;
922 int sysctl_sloppy_tcp;
923 int sysctl_sloppy_sctp;
924 int sysctl_expire_quiescent_template;
925 int sysctl_sync_threshold[2];
926 unsigned int sysctl_sync_refresh_period;
927 int sysctl_sync_retries;
928 int sysctl_nat_icmp_send;
929 int sysctl_pmtu_disc;
930 int sysctl_backup_only;
931 int sysctl_conn_reuse_mode;
932 int sysctl_schedule_icmp;
933 int sysctl_ignore_tunneled;
934 int sysctl_run_estimation;
937 int sysctl_lblc_expiration;
938 struct ctl_table_header *lblc_ctl_header;
939 struct ctl_table *lblc_ctl_table;
941 int sysctl_lblcr_expiration;
942 struct ctl_table_header *lblcr_ctl_header;
943 struct ctl_table *lblcr_ctl_table;
945 struct list_head est_list; /* estimator list */
946 spinlock_t est_lock;
947 struct timer_list est_timer; /* Estimation timer */
949 spinlock_t sync_lock;
950 struct ipvs_master_sync_state *ms;
951 spinlock_t sync_buff_lock;
952 struct ip_vs_sync_thread_data *master_tinfo;
953 struct ip_vs_sync_thread_data *backup_tinfo;
954 int threads_mask;
955 volatile int sync_state;
956 struct mutex sync_mutex;
957 struct ipvs_sync_daemon_cfg mcfg; /* Master Configuration */
958 struct ipvs_sync_daemon_cfg bcfg; /* Backup Configuration */
960 struct net *net; /* Needed by timer routines */
984 static inline int sysctl_sync_threshold(struct netns_ipvs *ipvs) in sysctl_sync_threshold() argument