aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
Diffstat (limited to 'include/net')
-rw-r--r--include/net/ip_vs.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h
index ac709fa5a79b..a719c0ef99ec 100644
--- a/include/net/ip_vs.h
+++ b/include/net/ip_vs.h
@@ -804,14 +804,16 @@ static inline void ip_vs_service_put(struct ip_vs_service *svc)
804} 804}
805 805
806extern struct ip_vs_dest * 806extern struct ip_vs_dest *
807ip_vs_lookup_real_service(__u16 protocol, __be32 daddr, __be16 dport); 807ip_vs_lookup_real_service(int af, __u16 protocol,
808 const union nf_inet_addr *daddr, __be16 dport);
809
808extern int ip_vs_use_count_inc(void); 810extern int ip_vs_use_count_inc(void);
809extern void ip_vs_use_count_dec(void); 811extern void ip_vs_use_count_dec(void);
810extern int ip_vs_control_init(void); 812extern int ip_vs_control_init(void);
811extern void ip_vs_control_cleanup(void); 813extern void ip_vs_control_cleanup(void);
812extern struct ip_vs_dest * 814extern struct ip_vs_dest *
813ip_vs_find_dest(__be32 daddr, __be16 dport, 815ip_vs_find_dest(int af, const union nf_inet_addr *daddr, __be16 dport,
814 __be32 vaddr, __be16 vport, __u16 protocol); 816 const union nf_inet_addr *vaddr, __be16 vport, __u16 protocol);
815extern struct ip_vs_dest *ip_vs_try_bind_dest(struct ip_vs_conn *cp); 817extern struct ip_vs_dest *ip_vs_try_bind_dest(struct ip_vs_conn *cp);
816 818
817 819