Home
last modified time | relevance | path

Searched refs:ip_vs_service (Results 1 – 23 of 23) sorted by relevance

/linux-6.1.9/net/netfilter/ipvs/
Dip_vs_mh.c123 struct ip_vs_service *svc) in ip_vs_mh_permutate()
160 struct ip_vs_service *svc) in ip_vs_mh_populate()
235 ip_vs_mh_get(struct ip_vs_service *svc, struct ip_vs_mh_state *s, in ip_vs_mh_get()
247 ip_vs_mh_get_fallback(struct ip_vs_service *svc, struct ip_vs_mh_state *s, in ip_vs_mh_get_fallback()
289 struct ip_vs_service *svc) in ip_vs_mh_reassign()
322 static int ip_vs_mh_gcd_weight(struct ip_vs_service *svc) in ip_vs_mh_gcd_weight()
343 static int ip_vs_mh_shift_weight(struct ip_vs_service *svc, int gcd) in ip_vs_mh_shift_weight()
381 static int ip_vs_mh_init_svc(struct ip_vs_service *svc) in ip_vs_mh_init_svc()
419 static void ip_vs_mh_done_svc(struct ip_vs_service *svc) in ip_vs_mh_done_svc()
431 static int ip_vs_mh_dest_changed(struct ip_vs_service *svc, in ip_vs_mh_dest_changed()
[all …]
Dip_vs_wrr.c69 static int ip_vs_wrr_gcd_weight(struct ip_vs_service *svc) in ip_vs_wrr_gcd_weight()
91 static int ip_vs_wrr_max_weight(struct ip_vs_service *svc) in ip_vs_wrr_max_weight()
106 static int ip_vs_wrr_init_svc(struct ip_vs_service *svc) in ip_vs_wrr_init_svc()
127 static void ip_vs_wrr_done_svc(struct ip_vs_service *svc) in ip_vs_wrr_done_svc()
138 static int ip_vs_wrr_dest_changed(struct ip_vs_service *svc, in ip_vs_wrr_dest_changed()
160 ip_vs_wrr_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, in ip_vs_wrr_schedule()
Dip_vs_sh.c104 ip_vs_sh_get(struct ip_vs_service *svc, struct ip_vs_sh_state *s, in ip_vs_sh_get()
121 ip_vs_sh_get_fallback(struct ip_vs_service *svc, struct ip_vs_sh_state *s, in ip_vs_sh_get_fallback()
163 ip_vs_sh_reassign(struct ip_vs_sh_state *s, struct ip_vs_service *svc) in ip_vs_sh_reassign()
228 static int ip_vs_sh_init_svc(struct ip_vs_service *svc) in ip_vs_sh_init_svc()
249 static void ip_vs_sh_done_svc(struct ip_vs_service *svc) in ip_vs_sh_done_svc()
263 static int ip_vs_sh_dest_changed(struct ip_vs_service *svc, in ip_vs_sh_dest_changed()
309 ip_vs_sh_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, in ip_vs_sh_schedule()
Dip_vs_lblc.c105 struct ip_vs_service *svc; /* pointer back to service */
229 static void ip_vs_lblc_flush(struct ip_vs_service *svc) in ip_vs_lblc_flush()
247 static int sysctl_lblc_expiration(struct ip_vs_service *svc) in sysctl_lblc_expiration()
256 static inline void ip_vs_lblc_full_check(struct ip_vs_service *svc) in ip_vs_lblc_full_check()
297 struct ip_vs_service *svc = tbl->svc; in ip_vs_lblc_check_expire()
343 static int ip_vs_lblc_init_svc(struct ip_vs_service *svc) in ip_vs_lblc_init_svc()
382 static void ip_vs_lblc_done_svc(struct ip_vs_service *svc) in ip_vs_lblc_done_svc()
400 __ip_vs_lblc_schedule(struct ip_vs_service *svc) in __ip_vs_lblc_schedule()
461 is_overloaded(struct ip_vs_dest *dest, struct ip_vs_service *svc) in is_overloaded()
481 ip_vs_lblc_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, in ip_vs_lblc_schedule()
Dip_vs_dh.c98 ip_vs_dh_reassign(struct ip_vs_dh_state *s, struct ip_vs_service *svc) in ip_vs_dh_reassign()
152 static int ip_vs_dh_init_svc(struct ip_vs_service *svc) in ip_vs_dh_init_svc()
173 static void ip_vs_dh_done_svc(struct ip_vs_service *svc) in ip_vs_dh_done_svc()
187 static int ip_vs_dh_dest_changed(struct ip_vs_service *svc, in ip_vs_dh_dest_changed()
213 ip_vs_dh_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, in ip_vs_dh_schedule()
Dip_vs_ctl.c68 static void __ip_vs_del_service(struct ip_vs_service *svc, bool cleanup);
306 static int ip_vs_svc_hash(struct ip_vs_service *svc) in ip_vs_svc_hash()
342 static int ip_vs_svc_unhash(struct ip_vs_service *svc) in ip_vs_svc_unhash()
367 static inline struct ip_vs_service *
372 struct ip_vs_service *svc; in __ip_vs_service_find()
395 static inline struct ip_vs_service *
399 struct ip_vs_service *svc; in __ip_vs_svc_fwm_find()
416 struct ip_vs_service *
420 struct ip_vs_service *svc; in ip_vs_service_find()
466 __ip_vs_bind_svc(struct ip_vs_dest *dest, struct ip_vs_service *svc) in __ip_vs_bind_svc()
[all …]
Dip_vs_rr.c26 static int ip_vs_rr_init_svc(struct ip_vs_service *svc) in ip_vs_rr_init_svc()
33 static int ip_vs_rr_del_dest(struct ip_vs_service *svc, struct ip_vs_dest *dest) in ip_vs_rr_del_dest()
53 ip_vs_rr_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, in ip_vs_rr_schedule()
Dip_vs_lblcr.c277 struct ip_vs_service *svc; /* pointer back to service */
395 static void ip_vs_lblcr_flush(struct ip_vs_service *svc) in ip_vs_lblcr_flush()
412 static int sysctl_lblcr_expiration(struct ip_vs_service *svc) in sysctl_lblcr_expiration()
421 static inline void ip_vs_lblcr_full_check(struct ip_vs_service *svc) in ip_vs_lblcr_full_check()
461 struct ip_vs_service *svc = tbl->svc; in ip_vs_lblcr_check_expire()
506 static int ip_vs_lblcr_init_svc(struct ip_vs_service *svc) in ip_vs_lblcr_init_svc()
545 static void ip_vs_lblcr_done_svc(struct ip_vs_service *svc) in ip_vs_lblcr_done_svc()
563 __ip_vs_lblcr_schedule(struct ip_vs_service *svc) in __ip_vs_lblcr_schedule()
625 is_overloaded(struct ip_vs_dest *dest, struct ip_vs_service *svc) in is_overloaded()
645 ip_vs_lblcr_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, in ip_vs_lblcr_schedule()
Dip_vs_sched.c40 int ip_vs_bind_scheduler(struct ip_vs_service *svc, in ip_vs_bind_scheduler()
60 void ip_vs_unbind_scheduler(struct ip_vs_service *svc, in ip_vs_unbind_scheduler()
143 void ip_vs_scheduler_err(struct ip_vs_service *svc, const char *msg) in ip_vs_scheduler_err()
Dip_vs_fo.c21 ip_vs_fo_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, in ip_vs_fo_schedule()
Dip_vs_ovf.c25 ip_vs_ovf_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, in ip_vs_ovf_schedule()
Dip_vs_lc.c24 ip_vs_lc_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, in ip_vs_lc_schedule()
Dip_vs_wlc.c29 ip_vs_wlc_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, in ip_vs_wlc_schedule()
Dip_vs_nq.c53 ip_vs_nq_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, in ip_vs_nq_schedule()
Dip_vs_sed.c57 ip_vs_sed_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, in ip_vs_sed_schedule()
Dip_vs_twos.c44 static struct ip_vs_dest *ip_vs_twos_schedule(struct ip_vs_service *svc, in ip_vs_twos_schedule()
Dip_vs_core.c129 struct ip_vs_service *svc; in ip_vs_in_stats()
165 struct ip_vs_service *svc; in ip_vs_out_stats()
194 ip_vs_conn_stats(struct ip_vs_conn *cp, struct ip_vs_service *svc) in ip_vs_conn_stats()
230 ip_vs_conn_fill_param_persist(const struct ip_vs_service *svc, in ip_vs_conn_fill_param_persist()
253 ip_vs_sched_persist(struct ip_vs_service *svc, in ip_vs_sched_persist()
441 ip_vs_schedule(struct ip_vs_service *svc, struct sk_buff *skb, in ip_vs_schedule()
585 int ip_vs_leave(struct ip_vs_service *svc, struct sk_buff *skb, in ip_vs_leave()
1129 struct ip_vs_conn *ip_vs_new_conn_out(struct ip_vs_service *svc, in ip_vs_new_conn_out()
1242 struct ip_vs_service *svc; in __ip_vs_rs_conn_out()
Dip_vs_pe_sip.c148 ip_vs_sip_conn_out(struct ip_vs_service *svc, in ip_vs_sip_conn_out()
Dip_vs_proto_udp.c36 struct ip_vs_service *svc; in udp_conn_schedule()
Dip_vs_proto_sctp.c21 struct ip_vs_service *svc; in sctp_conn_schedule()
Dip_vs_proto_tcp.c40 struct ip_vs_service *svc; in tcp_conn_schedule()
Dip_vs_conn.c1292 struct ip_vs_service *svc; in ip_vs_conn_ops_mode()
/linux-6.1.9/include/net/
Dip_vs.h612 struct ip_vs_service { struct
685 struct ip_vs_service __rcu *svc; /* service it belongs to */
703 int (*init_service)(struct ip_vs_service *svc);
705 void (*done_service)(struct ip_vs_service *svc);
707 int (*add_dest)(struct ip_vs_service *svc, struct ip_vs_dest *dest);
709 int (*del_dest)(struct ip_vs_service *svc, struct ip_vs_dest *dest);
711 int (*upd_dest)(struct ip_vs_service *svc, struct ip_vs_dest *dest);
714 struct ip_vs_dest* (*schedule)(struct ip_vs_service *svc,
734 struct ip_vs_conn* (*conn_out)(struct ip_vs_service *svc,
1184 struct ip_vs_conn *ip_vs_new_conn_out(struct ip_vs_service *svc,
[all …]