Lines Matching refs:ip_vs_service
270 static int ip_vs_svc_hash(struct ip_vs_service *svc) in ip_vs_svc_hash()
306 static int ip_vs_svc_unhash(struct ip_vs_service *svc) in ip_vs_svc_unhash()
335 static __inline__ struct ip_vs_service *
339 struct ip_vs_service *svc; in __ip_vs_service_get()
349 svc = list_entry(e, struct ip_vs_service, s_list); in __ip_vs_service_get()
366 static __inline__ struct ip_vs_service *__ip_vs_svc_fwm_get(__u32 fwmark) in __ip_vs_svc_fwm_get()
369 struct ip_vs_service *svc; in __ip_vs_svc_fwm_get()
379 svc = list_entry(e, struct ip_vs_service, f_list); in __ip_vs_svc_fwm_get()
390 struct ip_vs_service *
393 struct ip_vs_service *svc; in ip_vs_service_get()
441 __ip_vs_bind_svc(struct ip_vs_dest *dest, struct ip_vs_service *svc) in __ip_vs_bind_svc()
450 struct ip_vs_service *svc = dest->svc; in __ip_vs_unbind_svc()
548 ip_vs_lookup_dest(struct ip_vs_service *svc, __u32 daddr, __u16 dport) in ip_vs_lookup_dest()
580 ip_vs_trash_get_dest(struct ip_vs_service *svc, __u32 daddr, __u16 dport) in ip_vs_trash_get_dest()
666 static void __ip_vs_update_dest(struct ip_vs_service *svc, in __ip_vs_update_dest()
723 ip_vs_new_dest(struct ip_vs_service *svc, struct ip_vs_rule_user *ur, in ip_vs_new_dest()
768 static int ip_vs_add_dest(struct ip_vs_service *svc, in ip_vs_add_dest()
868 static int ip_vs_edit_dest(struct ip_vs_service *svc, in ip_vs_edit_dest()
950 static void __ip_vs_unlink_dest(struct ip_vs_service *svc, in __ip_vs_unlink_dest()
973 static int ip_vs_del_dest(struct ip_vs_service *svc,struct ip_vs_rule_user *ur) in ip_vs_del_dest()
1016 ip_vs_add_service(struct ip_vs_rule_user *ur, struct ip_vs_service **svc_p) in ip_vs_add_service()
1020 struct ip_vs_service *svc = NULL; in ip_vs_add_service()
1035 svc = (struct ip_vs_service*) in ip_vs_add_service()
1036 kmalloc(sizeof(struct ip_vs_service), GFP_ATOMIC); in ip_vs_add_service()
1042 memset(svc, 0, sizeof(struct ip_vs_service)); in ip_vs_add_service()
1104 static int ip_vs_edit_service(struct ip_vs_service *svc, in ip_vs_edit_service()
1177 static void __ip_vs_del_service(struct ip_vs_service *svc) in __ip_vs_del_service()
1223 static int ip_vs_del_service(struct ip_vs_service *svc) in ip_vs_del_service()
1254 struct ip_vs_service *svc; in ip_vs_flush()
1263 svc = list_entry(l->next,struct ip_vs_service,s_list); in ip_vs_flush()
1281 svc = list_entry(l->next,struct ip_vs_service,f_list); in ip_vs_flush()
1300 static int ip_vs_zero_service(struct ip_vs_service *svc) in ip_vs_zero_service()
1319 struct ip_vs_service *svc; in ip_vs_zero_all()
1323 svc = list_entry(l, struct ip_vs_service, s_list); in ip_vs_zero_all()
1330 svc = list_entry(l, struct ip_vs_service, f_list); in ip_vs_zero_all()
1487 struct ip_vs_service *svc; in ip_vs_get_info()
1514 svc = list_entry(e, struct ip_vs_service, s_list); in ip_vs_get_info()
1559 svc = list_entry(e, struct ip_vs_service, f_list); in ip_vs_get_info()
1695 struct ip_vs_service *svc = NULL; in do_ip_vs_set_ctl()
1831 struct ip_vs_service *svc; in __ip_vs_get_service_entries()
1840 svc = list_entry(l, struct ip_vs_service, s_list); in __ip_vs_get_service_entries()
1865 svc = list_entry(l, struct ip_vs_service, f_list); in __ip_vs_get_service_entries()
1893 struct ip_vs_service *svc; in __ip_vs_get_dest_entries()
2007 struct ip_vs_service *svc; in do_ip_vs_get_ctl()