Lines Matching defs:netns_ipvs
850 struct netns_ipvs { struct
851 int gen; /* Generation */
852 int enable; /* enable like nf_hooks do */
858 struct hlist_head rs_table[IP_VS_RTAB_SIZE];
860 struct list_head app_list;
863 struct ip_vs_proto_data *proto_data_table[IP_VS_PROTO_TAB_SIZE];
869 struct list_head tcp_apps[TCP_APP_TAB_SIZE];
876 struct list_head udp_apps[UDP_APP_TAB_SIZE];
884 struct list_head sctp_apps[SCTP_APP_TAB_SIZE];
887 atomic_t conn_count; /* connection counter */
890 struct ip_vs_stats tot_stats; /* Statistics & est. */
892 int num_services; /* no of virtual services */
895 struct list_head dest_trash;
896 spinlock_t dest_trash_lock;
897 struct timer_list dest_trash_timer; /* expiration timer */
899 atomic_t ftpsvc_counter;
900 atomic_t nullsvc_counter;
904 struct delayed_work defense_work; /* Work handler */
905 int drop_rate;
906 int drop_counter;
907 atomic_t dropentry;
909 spinlock_t dropentry_lock; /* drop entry handling */
910 spinlock_t droppacket_lock; /* drop packet handling */
911 spinlock_t securetcp_lock; /* state and timeout tables */
914 struct ctl_table_header *sysctl_hdr;
915 struct ctl_table *sysctl_tbl;
919 int sysctl_amemthresh;
920 int sysctl_am_droprate;
921 int sysctl_drop_entry;
922 int sysctl_drop_packet;
923 int sysctl_secure_tcp;
925 int sysctl_conntrack;
927 int sysctl_snat_reroute;
928 int sysctl_sync_ver;
929 int sysctl_sync_ports;
930 int sysctl_sync_persist_mode;
931 unsigned long sysctl_sync_qlen_max;
932 int sysctl_sync_sock_size;
933 int sysctl_cache_bypass;
934 int sysctl_expire_nodest_conn;
935 int sysctl_sloppy_tcp;
936 int sysctl_sloppy_sctp;
937 int sysctl_expire_quiescent_template;
938 int sysctl_sync_threshold[2];
939 unsigned int sysctl_sync_refresh_period;
940 int sysctl_sync_retries;
941 int sysctl_nat_icmp_send;
942 int sysctl_pmtu_disc;
943 int sysctl_backup_only;
944 int sysctl_conn_reuse_mode;
947 int sysctl_lblc_expiration;
948 struct ctl_table_header *lblc_ctl_header;
949 struct ctl_table *lblc_ctl_table;
951 int sysctl_lblcr_expiration;
952 struct ctl_table_header *lblcr_ctl_header;
953 struct ctl_table *lblcr_ctl_table;
955 struct list_head est_list; /* estimator list */
956 spinlock_t est_lock;
957 struct timer_list est_timer; /* Estimation timer */
959 spinlock_t sync_lock;
960 struct ipvs_master_sync_state *ms;
961 spinlock_t sync_buff_lock;
962 struct task_struct **backup_threads;
963 int threads_mask;
964 int send_mesg_maxlen;
965 int recv_mesg_maxlen;
966 volatile int sync_state;
967 volatile int master_syncid;
968 volatile int backup_syncid;
969 struct mutex sync_mutex;
971 char master_mcast_ifn[IP_VS_IFNAME_MAXLEN];
972 char backup_mcast_ifn[IP_VS_IFNAME_MAXLEN];
997 static inline int sysctl_sync_threshold(struct netns_ipvs *ipvs) in sysctl_sync_threshold() argument