Lines Matching refs:netns_ipvs
37 static inline struct netns_ipvs *net_ipvs(struct net* net) in net_ipvs()
426 int (*init_netns)(struct netns_ipvs *ipvs, struct ip_vs_proto_data *pd);
428 void (*exit_netns)(struct netns_ipvs *ipvs, struct ip_vs_proto_data *pd);
430 int (*conn_schedule)(struct netns_ipvs *ipvs,
437 (*conn_in_get)(struct netns_ipvs *ipvs,
443 (*conn_out_get)(struct netns_ipvs *ipvs,
460 int (*register_app)(struct netns_ipvs *ipvs, struct ip_vs_app *inc);
462 void (*unregister_app)(struct netns_ipvs *ipvs, struct ip_vs_app *inc);
484 struct ip_vs_proto_data *ip_vs_proto_data_get(struct netns_ipvs *ipvs,
488 struct netns_ipvs *ipvs;
515 struct netns_ipvs *ipvs;
625 struct netns_ipvs *ipvs;
812 struct netns_ipvs *ipvs;
832 struct netns_ipvs { struct
984 static inline int sysctl_sync_threshold(struct netns_ipvs *ipvs) in sysctl_sync_threshold() argument
989 static inline int sysctl_sync_period(struct netns_ipvs *ipvs) in sysctl_sync_period()
994 static inline unsigned int sysctl_sync_refresh_period(struct netns_ipvs *ipvs) in sysctl_sync_refresh_period()
999 static inline int sysctl_sync_retries(struct netns_ipvs *ipvs) in sysctl_sync_retries()
1004 static inline int sysctl_sync_ver(struct netns_ipvs *ipvs) in sysctl_sync_ver()
1009 static inline int sysctl_sloppy_tcp(struct netns_ipvs *ipvs) in sysctl_sloppy_tcp()
1014 static inline int sysctl_sloppy_sctp(struct netns_ipvs *ipvs) in sysctl_sloppy_sctp()
1019 static inline int sysctl_sync_ports(struct netns_ipvs *ipvs) in sysctl_sync_ports()
1024 static inline int sysctl_sync_persist_mode(struct netns_ipvs *ipvs) in sysctl_sync_persist_mode()
1029 static inline unsigned long sysctl_sync_qlen_max(struct netns_ipvs *ipvs) in sysctl_sync_qlen_max()
1034 static inline int sysctl_sync_sock_size(struct netns_ipvs *ipvs) in sysctl_sync_sock_size()
1039 static inline int sysctl_pmtu_disc(struct netns_ipvs *ipvs) in sysctl_pmtu_disc()
1044 static inline int sysctl_backup_only(struct netns_ipvs *ipvs) in sysctl_backup_only()
1050 static inline int sysctl_conn_reuse_mode(struct netns_ipvs *ipvs) in sysctl_conn_reuse_mode()
1055 static inline int sysctl_expire_nodest_conn(struct netns_ipvs *ipvs) in sysctl_expire_nodest_conn()
1060 static inline int sysctl_schedule_icmp(struct netns_ipvs *ipvs) in sysctl_schedule_icmp()
1065 static inline int sysctl_ignore_tunneled(struct netns_ipvs *ipvs) in sysctl_ignore_tunneled()
1070 static inline int sysctl_cache_bypass(struct netns_ipvs *ipvs) in sysctl_cache_bypass()
1075 static inline int sysctl_run_estimation(struct netns_ipvs *ipvs) in sysctl_run_estimation()
1082 static inline int sysctl_sync_threshold(struct netns_ipvs *ipvs) in sysctl_sync_threshold()
1087 static inline int sysctl_sync_period(struct netns_ipvs *ipvs) in sysctl_sync_period()
1092 static inline unsigned int sysctl_sync_refresh_period(struct netns_ipvs *ipvs) in sysctl_sync_refresh_period()
1097 static inline int sysctl_sync_retries(struct netns_ipvs *ipvs) in sysctl_sync_retries()
1102 static inline int sysctl_sync_ver(struct netns_ipvs *ipvs) in sysctl_sync_ver()
1107 static inline int sysctl_sloppy_tcp(struct netns_ipvs *ipvs) in sysctl_sloppy_tcp()
1112 static inline int sysctl_sloppy_sctp(struct netns_ipvs *ipvs) in sysctl_sloppy_sctp()
1117 static inline int sysctl_sync_ports(struct netns_ipvs *ipvs) in sysctl_sync_ports()
1122 static inline int sysctl_sync_persist_mode(struct netns_ipvs *ipvs) in sysctl_sync_persist_mode()
1127 static inline unsigned long sysctl_sync_qlen_max(struct netns_ipvs *ipvs) in sysctl_sync_qlen_max()
1132 static inline int sysctl_sync_sock_size(struct netns_ipvs *ipvs) in sysctl_sync_sock_size()
1137 static inline int sysctl_pmtu_disc(struct netns_ipvs *ipvs) in sysctl_pmtu_disc()
1142 static inline int sysctl_backup_only(struct netns_ipvs *ipvs) in sysctl_backup_only()
1147 static inline int sysctl_conn_reuse_mode(struct netns_ipvs *ipvs) in sysctl_conn_reuse_mode()
1152 static inline int sysctl_expire_nodest_conn(struct netns_ipvs *ipvs) in sysctl_expire_nodest_conn()
1157 static inline int sysctl_schedule_icmp(struct netns_ipvs *ipvs) in sysctl_schedule_icmp()
1162 static inline int sysctl_ignore_tunneled(struct netns_ipvs *ipvs) in sysctl_ignore_tunneled()
1167 static inline int sysctl_cache_bypass(struct netns_ipvs *ipvs) in sysctl_cache_bypass()
1172 static inline int sysctl_run_estimation(struct netns_ipvs *ipvs) in sysctl_run_estimation()
1204 static inline void ip_vs_conn_fill_param(struct netns_ipvs *ipvs, int af, int protocol, in ip_vs_conn_fill_param()
1225 struct ip_vs_conn * ip_vs_conn_in_get_proto(struct netns_ipvs *ipvs, int af,
1231 struct ip_vs_conn * ip_vs_conn_out_get_proto(struct netns_ipvs *ipvs, int af,
1263 void ip_vs_random_dropentry(struct netns_ipvs *ipvs);
1339 int ip_vs_estimator_net_init(struct netns_ipvs *ipvs);
1340 int ip_vs_control_net_init(struct netns_ipvs *ipvs);
1341 int ip_vs_protocol_net_init(struct netns_ipvs *ipvs);
1342 int ip_vs_app_net_init(struct netns_ipvs *ipvs);
1343 int ip_vs_conn_net_init(struct netns_ipvs *ipvs);
1344 int ip_vs_sync_net_init(struct netns_ipvs *ipvs);
1345 void ip_vs_conn_net_cleanup(struct netns_ipvs *ipvs);
1346 void ip_vs_app_net_cleanup(struct netns_ipvs *ipvs);
1347 void ip_vs_protocol_net_cleanup(struct netns_ipvs *ipvs);
1348 void ip_vs_control_net_cleanup(struct netns_ipvs *ipvs);
1349 void ip_vs_estimator_net_cleanup(struct netns_ipvs *ipvs);
1350 void ip_vs_sync_net_cleanup(struct netns_ipvs *ipvs);
1357 struct ip_vs_app *register_ip_vs_app(struct netns_ipvs *ipvs, struct ip_vs_app *app);
1358 void unregister_ip_vs_app(struct netns_ipvs *ipvs, struct ip_vs_app *app);
1361 int register_ip_vs_app_inc(struct netns_ipvs *ipvs, struct ip_vs_app *app, __u16 proto,
1388 void ip_vs_protocol_timeout_change(struct netns_ipvs *ipvs, int flags);
1426 ip_vs_service_find(struct netns_ipvs *ipvs, int af, __u32 fwmark, __u16 protocol,
1429 bool ip_vs_has_real_service(struct netns_ipvs *ipvs, int af, __u16 protocol,
1433 ip_vs_find_real_service(struct netns_ipvs *ipvs, int af, __u16 protocol,
1435 struct ip_vs_dest *ip_vs_find_tunnel(struct netns_ipvs *ipvs, int af,
1446 ip_vs_find_dest(struct netns_ipvs *ipvs, int svc_af, int dest_af,
1472 int start_sync_thread(struct netns_ipvs *ipvs, struct ipvs_sync_daemon_cfg *cfg,
1474 int stop_sync_thread(struct netns_ipvs *ipvs, int state);
1475 void ip_vs_sync_conn(struct netns_ipvs *ipvs, struct ip_vs_conn *cp, int pkts);
1478 void ip_vs_start_estimator(struct netns_ipvs *ipvs, struct ip_vs_stats *stats);
1479 void ip_vs_stop_estimator(struct netns_ipvs *ipvs, struct ip_vs_stats *stats);
1518 static inline int ip_vs_todrop(struct netns_ipvs *ipvs) in ip_vs_todrop()
1528 static inline int ip_vs_todrop(struct netns_ipvs *ipvs) { return 0; } in ip_vs_todrop()
1535 static inline void ip_vs_enqueue_expire_nodest_conns(struct netns_ipvs *ipvs) in ip_vs_enqueue_expire_nodest_conns()
1542 void ip_vs_expire_nodest_conn_flush(struct netns_ipvs *ipvs);
1544 static inline void ip_vs_enqueue_expire_nodest_conns(struct netns_ipvs *ipvs) {} in ip_vs_enqueue_expire_nodest_conns()
1627 static inline int ip_vs_conntrack_enabled(struct netns_ipvs *ipvs) in ip_vs_conntrack_enabled()
1646 static inline int ip_vs_conntrack_enabled(struct netns_ipvs *ipvs) in ip_vs_conntrack_enabled()
1710 int ip_vs_register_hooks(struct netns_ipvs *ipvs, unsigned int af);
1711 void ip_vs_unregister_hooks(struct netns_ipvs *ipvs, unsigned int af);