diff options
author | Julius Volz <juliusv@google.com> | 2008-09-02 09:55:48 -0400 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2008-09-04 21:17:10 -0400 |
commit | 7937df1564783806c285d34a1c6fd63d8da29d7a (patch) | |
tree | 090dbabafffef92aff1e04aa163435c3ce6db4c9 /include/net/ip_vs.h | |
parent | 2a3b791e6e1169f374224d164738e9f7be703d77 (diff) |
IPVS: Convert real server lookup functions
Convert functions for looking up destinations (real servers) to support
IPv6 services/dests.
Signed-off-by: Julius Volz <juliusv@google.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'include/net/ip_vs.h')
-rw-r--r-- | include/net/ip_vs.h | 8 |
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 | ||
806 | extern struct ip_vs_dest * | 806 | extern struct ip_vs_dest * |
807 | ip_vs_lookup_real_service(__u16 protocol, __be32 daddr, __be16 dport); | 807 | ip_vs_lookup_real_service(int af, __u16 protocol, |
808 | const union nf_inet_addr *daddr, __be16 dport); | ||
809 | |||
808 | extern int ip_vs_use_count_inc(void); | 810 | extern int ip_vs_use_count_inc(void); |
809 | extern void ip_vs_use_count_dec(void); | 811 | extern void ip_vs_use_count_dec(void); |
810 | extern int ip_vs_control_init(void); | 812 | extern int ip_vs_control_init(void); |
811 | extern void ip_vs_control_cleanup(void); | 813 | extern void ip_vs_control_cleanup(void); |
812 | extern struct ip_vs_dest * | 814 | extern struct ip_vs_dest * |
813 | ip_vs_find_dest(__be32 daddr, __be16 dport, | 815 | ip_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); |
815 | extern struct ip_vs_dest *ip_vs_try_bind_dest(struct ip_vs_conn *cp); | 817 | extern struct ip_vs_dest *ip_vs_try_bind_dest(struct ip_vs_conn *cp); |
816 | 818 | ||
817 | 819 | ||