Lines Matching refs:svc
98 ip_vs_dh_reassign(struct ip_vs_dh_state *s, struct ip_vs_service *svc)
107 p = &svc->destinations;
116 if (p == &svc->destinations)
152 static int ip_vs_dh_init_svc(struct ip_vs_service *svc)
161 svc->sched_data = s;
167 ip_vs_dh_reassign(s, svc);
173 static void ip_vs_dh_done_svc(struct ip_vs_service *svc)
175 struct ip_vs_dh_state *s = svc->sched_data;
187 static int ip_vs_dh_dest_changed(struct ip_vs_service *svc,
190 struct ip_vs_dh_state *s = svc->sched_data;
193 ip_vs_dh_reassign(s, svc);
213 ip_vs_dh_schedule(struct ip_vs_service *svc, const struct sk_buff *skb,
221 s = (struct ip_vs_dh_state *) svc->sched_data;
222 dest = ip_vs_dh_get(svc->af, s, &iph->daddr);
227 ip_vs_scheduler_err(svc, "no destination available");
232 IP_VS_DBG_ADDR(svc->af, &iph->daddr),