Home
last modified time | relevance | path

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

/linux/net/netfilter/ipvs/
H A 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 …]
H A 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()
H A Dip_vs_lblc.c105 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()
H A 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()
H A 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()
H A Dip_vs_lblcr.c277 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()
H A 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()
H A 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()
H A Dip_vs_fo.c21 ip_vs_fo_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, in ip_vs_fo_schedule()
H A Dip_vs_lc.c24 ip_vs_lc_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, in ip_vs_lc_schedule()
H A Dip_vs_ovf.c25 ip_vs_ovf_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, in ip_vs_ovf_schedule()
H A Dip_vs_nq.c53 ip_vs_nq_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, in ip_vs_nq_schedule()
H A Dip_vs_wlc.c29 ip_vs_wlc_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, in ip_vs_wlc_schedule()
H A Dip_vs_sed.c57 ip_vs_sed_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, in ip_vs_sed_schedule()
H A Dip_vs_twos.c44 static struct ip_vs_dest *ip_vs_twos_schedule(struct ip_vs_service *svc, in ip_vs_twos_schedule()
H A 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()
1240 struct ip_vs_service *svc; in __ip_vs_rs_conn_out()
H A Dip_vs_pe_sip.c148 ip_vs_sip_conn_out(struct ip_vs_service *svc, in ip_vs_sip_conn_out()
H A Dip_vs_proto_udp.c36 struct ip_vs_service *svc; in udp_conn_schedule()
H A Dip_vs_proto_sctp.c21 struct ip_vs_service *svc; in sctp_conn_schedule()
H A Dip_vs_proto_tcp.c40 struct ip_vs_service *svc; in tcp_conn_schedule()
H A Dip_vs_conn.c1292 struct ip_vs_service *svc; in ip_vs_conn_ops_mode()
/linux/include/net/
H A Dip_vs.h675 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 …]