/linux-6.12.1/net/netfilter/ipvs/ |
D | ip_vs_mh.c | 123 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 …]
|
D | ip_vs_wrr.c | 69 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()
|
D | ip_vs_lblc.c | 105 struct ip_vs_service *svc; /* pointer back to service */ 228 static void ip_vs_lblc_flush(struct ip_vs_service *svc) in ip_vs_lblc_flush() 246 static int sysctl_lblc_expiration(struct ip_vs_service *svc) in sysctl_lblc_expiration() 255 static inline void ip_vs_lblc_full_check(struct ip_vs_service *svc) in ip_vs_lblc_full_check() 296 struct ip_vs_service *svc = tbl->svc; in ip_vs_lblc_check_expire() 342 static int ip_vs_lblc_init_svc(struct ip_vs_service *svc) in ip_vs_lblc_init_svc() 381 static void ip_vs_lblc_done_svc(struct ip_vs_service *svc) in ip_vs_lblc_done_svc() 399 __ip_vs_lblc_schedule(struct ip_vs_service *svc) in __ip_vs_lblc_schedule() 460 is_overloaded(struct ip_vs_dest *dest, struct ip_vs_service *svc) in is_overloaded() 480 ip_vs_lblc_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, in ip_vs_lblc_schedule()
|
D | ip_vs_sh.c | 104 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()
|
D | ip_vs_dh.c | 98 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()
|
D | ip_vs_lblcr.c | 277 struct ip_vs_service *svc; /* pointer back to service */ 394 static void ip_vs_lblcr_flush(struct ip_vs_service *svc) in ip_vs_lblcr_flush() 411 static int sysctl_lblcr_expiration(struct ip_vs_service *svc) in sysctl_lblcr_expiration() 420 static inline void ip_vs_lblcr_full_check(struct ip_vs_service *svc) in ip_vs_lblcr_full_check() 460 struct ip_vs_service *svc = tbl->svc; in ip_vs_lblcr_check_expire() 505 static int ip_vs_lblcr_init_svc(struct ip_vs_service *svc) in ip_vs_lblcr_init_svc() 544 static void ip_vs_lblcr_done_svc(struct ip_vs_service *svc) in ip_vs_lblcr_done_svc() 562 __ip_vs_lblcr_schedule(struct ip_vs_service *svc) in __ip_vs_lblcr_schedule() 624 is_overloaded(struct ip_vs_dest *dest, struct ip_vs_service *svc) in is_overloaded() 644 ip_vs_lblcr_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, in ip_vs_lblcr_schedule()
|
D | ip_vs_rr.c | 26 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()
|
D | ip_vs_ctl.c | 67 static void __ip_vs_del_service(struct ip_vs_service *svc, bool cleanup); 346 static int ip_vs_svc_hash(struct ip_vs_service *svc) in ip_vs_svc_hash() 382 static int ip_vs_svc_unhash(struct ip_vs_service *svc) in ip_vs_svc_unhash() 407 static inline struct ip_vs_service * 412 struct ip_vs_service *svc; in __ip_vs_service_find() 435 static inline struct ip_vs_service * 439 struct ip_vs_service *svc; in __ip_vs_svc_fwm_find() 456 struct ip_vs_service * 460 struct ip_vs_service *svc; in ip_vs_service_find() 506 __ip_vs_bind_svc(struct ip_vs_dest *dest, struct ip_vs_service *svc) in __ip_vs_bind_svc() [all …]
|
D | ip_vs_sched.c | 40 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()
|
D | ip_vs_fo.c | 21 ip_vs_fo_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, in ip_vs_fo_schedule()
|
D | ip_vs_ovf.c | 25 ip_vs_ovf_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, in ip_vs_ovf_schedule()
|
D | ip_vs_lc.c | 24 ip_vs_lc_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, in ip_vs_lc_schedule()
|
D | ip_vs_nq.c | 53 ip_vs_nq_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, in ip_vs_nq_schedule()
|
D | ip_vs_wlc.c | 29 ip_vs_wlc_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, in ip_vs_wlc_schedule()
|
D | ip_vs_sed.c | 57 ip_vs_sed_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, in ip_vs_sed_schedule()
|
D | ip_vs_twos.c | 44 static struct ip_vs_dest *ip_vs_twos_schedule(struct ip_vs_service *svc, in ip_vs_twos_schedule()
|
D | ip_vs_core.c | 129 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() 1240 struct ip_vs_service *svc; in __ip_vs_rs_conn_out()
|
D | ip_vs_pe_sip.c | 148 ip_vs_sip_conn_out(struct ip_vs_service *svc, in ip_vs_sip_conn_out()
|
D | ip_vs_proto_udp.c | 36 struct ip_vs_service *svc; in udp_conn_schedule()
|
D | ip_vs_proto_sctp.c | 21 struct ip_vs_service *svc; in sctp_conn_schedule()
|
D | ip_vs_proto_tcp.c | 40 struct ip_vs_service *svc; in tcp_conn_schedule()
|
D | ip_vs_conn.c | 1292 struct ip_vs_service *svc; in ip_vs_conn_ops_mode()
|
/linux-6.12.1/include/net/ |
D | ip_vs.h | 675 struct ip_vs_service { struct 748 struct ip_vs_service __rcu *svc; /* service it belongs to */ 767 int (*init_service)(struct ip_vs_service *svc); 769 void (*done_service)(struct ip_vs_service *svc); 771 int (*add_dest)(struct ip_vs_service *svc, struct ip_vs_dest *dest); 773 int (*del_dest)(struct ip_vs_service *svc, struct ip_vs_dest *dest); 775 int (*upd_dest)(struct ip_vs_service *svc, struct ip_vs_dest *dest); 778 struct ip_vs_dest* (*schedule)(struct ip_vs_service *svc, 798 struct ip_vs_conn* (*conn_out)(struct ip_vs_service *svc, 1285 struct ip_vs_conn *ip_vs_new_conn_out(struct ip_vs_service *svc, [all …]
|