Home
last modified time | relevance | path

Searched refs:netns_ipvs (Results 1 – 18 of 18) sorted by relevance

/linux-6.1.9/include/net/
Dip_vs.h37 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;
[all …]
Dnet_namespace.h53 struct netns_ipvs;
168 struct netns_ipvs *ipvs;
/linux-6.1.9/net/netfilter/ipvs/
Dip_vs_app.c73 ip_vs_app_inc_new(struct netns_ipvs *ipvs, struct ip_vs_app *app, __u16 proto, in ip_vs_app_inc_new()
125 ip_vs_app_inc_release(struct netns_ipvs *ipvs, struct ip_vs_app *inc) in ip_vs_app_inc_release()
173 register_ip_vs_app_inc(struct netns_ipvs *ipvs, struct ip_vs_app *app, __u16 proto, in register_ip_vs_app_inc()
189 struct ip_vs_app *register_ip_vs_app(struct netns_ipvs *ipvs, struct ip_vs_app *app) in register_ip_vs_app()
232 void unregister_ip_vs_app(struct netns_ipvs *ipvs, struct ip_vs_app *app) in unregister_ip_vs_app()
519 static struct ip_vs_app *ip_vs_app_idx(struct netns_ipvs *ipvs, loff_t pos) in ip_vs_app_idx()
536 struct netns_ipvs *ipvs = net_ipvs(net); in ip_vs_app_seq_start()
548 struct netns_ipvs *ipvs = net_ipvs(net); in ip_vs_app_seq_next()
599 int __net_init ip_vs_app_net_init(struct netns_ipvs *ipvs) in ip_vs_app_net_init()
611 void __net_exit ip_vs_app_net_cleanup(struct netns_ipvs *ipvs) in ip_vs_app_net_cleanup()
Dip_vs_proto_ah_esp.c40 ah_esp_conn_fill_param_proto(struct netns_ipvs *ipvs, int af, in ah_esp_conn_fill_param_proto()
55 ah_esp_conn_in_get(struct netns_ipvs *ipvs, int af, const struct sk_buff *skb, in ah_esp_conn_in_get()
81 ah_esp_conn_out_get(struct netns_ipvs *ipvs, int af, const struct sk_buff *skb, in ah_esp_conn_out_get()
103 ah_esp_conn_schedule(struct netns_ipvs *ipvs, int af, struct sk_buff *skb, in ah_esp_conn_schedule()
Dip_vs_est.c101 struct netns_ipvs *ipvs = from_timer(ipvs, t, est_timer); in estimation_timer()
142 void ip_vs_start_estimator(struct netns_ipvs *ipvs, struct ip_vs_stats *stats) in ip_vs_start_estimator()
153 void ip_vs_stop_estimator(struct netns_ipvs *ipvs, struct ip_vs_stats *stats) in ip_vs_stop_estimator()
192 int __net_init ip_vs_estimator_net_init(struct netns_ipvs *ipvs) in ip_vs_estimator_net_init()
201 void __net_exit ip_vs_estimator_net_cleanup(struct netns_ipvs *ipvs) in ip_vs_estimator_net_cleanup()
Dip_vs_proto.c66 register_ip_vs_proto_netns(struct netns_ipvs *ipvs, struct ip_vs_protocol *pp) in register_ip_vs_proto_netns()
118 unregister_ip_vs_proto_netns(struct netns_ipvs *ipvs, struct ip_vs_proto_data *pd) in unregister_ip_vs_proto_netns()
158 ip_vs_proto_data_get(struct netns_ipvs *ipvs, unsigned short proto) in ip_vs_proto_data_get()
175 void ip_vs_protocol_timeout_change(struct netns_ipvs *ipvs, int flags) in ip_vs_protocol_timeout_change()
296 int __net_init ip_vs_protocol_net_init(struct netns_ipvs *ipvs) in ip_vs_protocol_net_init()
329 void __net_exit ip_vs_protocol_net_cleanup(struct netns_ipvs *ipvs) in ip_vs_protocol_net_cleanup()
Dip_vs_ctl.c94 static void update_defense_level(struct netns_ipvs *ipvs) in update_defense_level()
219 struct netns_ipvs *ipvs; in expire_nodest_conn_handler()
221 ipvs = container_of(work, struct netns_ipvs, in expire_nodest_conn_handler()
233 struct netns_ipvs *ipvs = in defense_work_handler()
234 container_of(work, struct netns_ipvs, defense_work.work); in defense_work_handler()
274 ip_vs_svc_hashkey(struct netns_ipvs *ipvs, int af, unsigned int proto, in ip_vs_svc_hashkey()
296 static inline unsigned int ip_vs_svc_fwm_hashkey(struct netns_ipvs *ipvs, __u32 fwmark) in ip_vs_svc_fwm_hashkey()
368 __ip_vs_service_find(struct netns_ipvs *ipvs, int af, __u16 protocol, in __ip_vs_service_find()
396 __ip_vs_svc_fwm_find(struct netns_ipvs *ipvs, int af, __u32 fwmark) in __ip_vs_svc_fwm_find()
417 ip_vs_service_find(struct netns_ipvs *ipvs, int af, __u32 fwmark, __u16 protocol, in ip_vs_service_find()
[all …]
Dip_vs_sync.c199 struct netns_ipvs *ipvs;
304 sb_dequeue(struct netns_ipvs *ipvs, struct ipvs_master_sync_state *ms) in sb_dequeue()
329 ip_vs_sync_buff_create(struct netns_ipvs *ipvs, unsigned int len) in ip_vs_sync_buff_create()
362 static inline void sb_queue_tail(struct netns_ipvs *ipvs, in sb_queue_tail()
390 get_curr_sync_buff(struct netns_ipvs *ipvs, struct ipvs_master_sync_state *ms, in get_curr_sync_buff()
407 select_master_thread_id(struct netns_ipvs *ipvs, struct ip_vs_conn *cp) in select_master_thread_id()
416 ip_vs_sync_buff_create_v0(struct netns_ipvs *ipvs, unsigned int len) in ip_vs_sync_buff_create_v0()
460 static int ip_vs_sync_conn_needed(struct netns_ipvs *ipvs, in ip_vs_sync_conn_needed()
540 static void ip_vs_sync_conn_v0(struct netns_ipvs *ipvs, struct ip_vs_conn *cp, in ip_vs_sync_conn_v0()
630 void ip_vs_sync_conn(struct netns_ipvs *ipvs, struct ip_vs_conn *cp, int pkts) in ip_vs_sync_conn()
[all …]
Dip_vs_core.c125 struct netns_ipvs *ipvs = cp->ipvs; in ip_vs_in_stats()
161 struct netns_ipvs *ipvs = cp->ipvs; in ip_vs_out_stats()
196 struct netns_ipvs *ipvs = svc->ipvs; in ip_vs_conn_stats()
589 struct netns_ipvs *ipvs = svc->ipvs; in ip_vs_leave()
675 static int sysctl_snat_reroute(struct netns_ipvs *ipvs) in sysctl_snat_reroute()
680 static int sysctl_nat_icmp_send(struct netns_ipvs *ipvs) in sysctl_nat_icmp_send()
687 static int sysctl_snat_reroute(struct netns_ipvs *ipvs) { return 0; } in sysctl_snat_reroute()
688 static int sysctl_nat_icmp_send(struct netns_ipvs *ipvs) { return 0; } in sysctl_nat_icmp_send()
706 static inline int ip_vs_gather_frags(struct netns_ipvs *ipvs, in ip_vs_gather_frags()
720 static int ip_vs_route_me_harder(struct netns_ipvs *ipvs, int af, in ip_vs_route_me_harder()
[all …]
Dip_vs_proto_udp.c31 udp_conn_schedule(struct netns_ipvs *ipvs, int af, struct sk_buff *skb, in udp_conn_schedule()
361 static int udp_register_app(struct netns_ipvs *ipvs, struct ip_vs_app *inc) in udp_register_app()
386 udp_unregister_app(struct netns_ipvs *ipvs, struct ip_vs_app *inc) in udp_unregister_app()
397 struct netns_ipvs *ipvs = cp->ipvs; in udp_app_conn_bind()
466 static int __udp_init(struct netns_ipvs *ipvs, struct ip_vs_proto_data *pd) in __udp_init()
476 static void __udp_exit(struct netns_ipvs *ipvs, struct ip_vs_proto_data *pd) in __udp_exit()
Dip_vs_conn.c107 static unsigned int ip_vs_conn_hashkey(struct netns_ipvs *ipvs, int af, unsigned int proto, in ip_vs_conn_hashkey()
314 ip_vs_conn_fill_param_proto(struct netns_ipvs *ipvs, in ip_vs_conn_fill_param_proto()
335 ip_vs_conn_in_get_proto(struct netns_ipvs *ipvs, int af, in ip_vs_conn_in_get_proto()
452 ip_vs_conn_out_get_proto(struct netns_ipvs *ipvs, int af, in ip_vs_conn_out_get_proto()
751 static int expire_quiescent_template(struct netns_ipvs *ipvs, in expire_quiescent_template()
770 struct netns_ipvs *ipvs = ct->ipvs; in ip_vs_check_template()
850 struct netns_ipvs *ipvs = cp->ipvs; in ip_vs_conn_expire()
946 struct netns_ipvs *ipvs = p->ipvs; in ip_vs_conn_new()
1301 void ip_vs_random_dropentry(struct netns_ipvs *ipvs) in ip_vs_random_dropentry()
1371 static void ip_vs_conn_flush(struct netns_ipvs *ipvs) in ip_vs_conn_flush()
[all …]
Dip_vs_proto_sctp.c16 sctp_conn_schedule(struct netns_ipvs *ipvs, int af, struct sk_buff *skb, in sctp_conn_schedule()
488 static int sctp_register_app(struct netns_ipvs *ipvs, struct ip_vs_app *inc) in sctp_register_app()
511 static void sctp_unregister_app(struct netns_ipvs *ipvs, struct ip_vs_app *inc) in sctp_unregister_app()
521 struct netns_ipvs *ipvs = cp->ipvs; in sctp_app_conn_bind()
559 static int __ip_vs_sctp_init(struct netns_ipvs *ipvs, struct ip_vs_proto_data *pd) in __ip_vs_sctp_init()
569 static void __ip_vs_sctp_exit(struct netns_ipvs *ipvs, struct ip_vs_proto_data *pd) in __ip_vs_sctp_exit()
Dip_vs_proto_tcp.c35 tcp_conn_schedule(struct netns_ipvs *ipvs, int af, struct sk_buff *skb, in tcp_conn_schedule()
616 static int tcp_register_app(struct netns_ipvs *ipvs, struct ip_vs_app *inc) in tcp_register_app()
641 tcp_unregister_app(struct netns_ipvs *ipvs, struct ip_vs_app *inc) in tcp_unregister_app()
653 struct netns_ipvs *ipvs = cp->ipvs; in tcp_app_conn_bind()
708 static int __ip_vs_tcp_init(struct netns_ipvs *ipvs, struct ip_vs_proto_data *pd) in __ip_vs_tcp_init()
719 static void __ip_vs_tcp_exit(struct netns_ipvs *ipvs, struct ip_vs_proto_data *pd) in __ip_vs_tcp_exit()
Dip_vs_xmit.c214 static inline bool ensure_mtu_is_adequate(struct netns_ipvs *ipvs, int skb_af, in ensure_mtu_is_adequate()
256 static inline bool decrement_ttl(struct netns_ipvs *ipvs, in decrement_ttl()
307 __ip_vs_get_out_rt(struct netns_ipvs *ipvs, int skb_af, struct sk_buff *skb, in __ip_vs_get_out_rt()
469 __ip_vs_get_out_rt_v6(struct netns_ipvs *ipvs, int skb_af, struct sk_buff *skb, in __ip_vs_get_out_rt_v6()
1136 struct netns_ipvs *ipvs = cp->ipvs; in ip_vs_tunnel_xmit()
1286 struct netns_ipvs *ipvs = cp->ipvs; in ip_vs_tunnel_xmit_v6()
Dip_vs_ftp.c579 struct netns_ipvs *ipvs = net_ipvs(net); in __ip_vs_ftp_init()
606 struct netns_ipvs *ipvs = net_ipvs(net); in __ip_vs_ftp_exit()
Dip_vs_lblc.c552 struct netns_ipvs *ipvs = net_ipvs(net); in __ip_vs_lblc_init()
586 struct netns_ipvs *ipvs = net_ipvs(net); in __ip_vs_lblc_exit()
Dip_vs_lblcr.c738 struct netns_ipvs *ipvs = net_ipvs(net); in __ip_vs_lblcr_init()
771 struct netns_ipvs *ipvs = net_ipvs(net); in __ip_vs_lblcr_exit()
/linux-6.1.9/net/netfilter/
Dxt_ipvs.c52 struct netns_ipvs *ipvs = net_ipvs(xt_net(par)); in ipvs_mt()