Lines Matching refs:svc
353 static int ip_vs_lblc_init_svc(struct ip_vs_service *svc)
366 svc->sched_data = tbl;
395 static int ip_vs_lblc_done_svc(struct ip_vs_service *svc)
397 struct ip_vs_lblc_table *tbl = svc->sched_data;
406 kfree(svc->sched_data);
414 static int ip_vs_lblc_update_svc(struct ip_vs_service *svc)
421 __ip_vs_wlc_schedule(struct ip_vs_service *svc, struct iphdr *iph)
443 list_for_each_entry(dest, &svc->destinations, n_list) {
459 list_for_each_entry_continue(dest, &svc->destinations, n_list) {
488 is_overloaded(struct ip_vs_dest *dest, struct ip_vs_service *svc)
493 list_for_each_entry(d, &svc->destinations, n_list) {
508 ip_vs_lblc_schedule(struct ip_vs_service *svc, const struct sk_buff *skb)
517 tbl = (struct ip_vs_lblc_table *)svc->sched_data;
520 dest = __ip_vs_wlc_schedule(svc, iph);
534 || is_overloaded(dest, svc)) {
535 dest = __ip_vs_wlc_schedule(svc, iph);