aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/ip_vs.h
diff options
context:
space:
mode:
authorJulius Volz <juliusv@google.com>2008-09-02 09:55:45 -0400
committerSimon Horman <horms@verge.net.au>2008-09-04 21:17:08 -0400
commitb3cdd2a73867d309dca288b8e820c09e3b7f1da1 (patch)
tree83f5ca34e353598ccd6c6cd58e0a9a94a7db03fd /include/net/ip_vs.h
parent38cdcc9a039b92a9972dca3c954fb3d8b3ef13bf (diff)
IPVS: Add and bind IPv6 xmit functions
Add xmit functions for IPv6. Also add the already needed __ip_vs_get_out_rt_v6() to ip_vs_core.c. Bind the new xmit functions to v6 connections. 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.h20
1 files changed, 19 insertions, 1 deletions
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h
index 26893499eb6f..ac709fa5a79b 100644
--- a/include/net/ip_vs.h
+++ b/include/net/ip_vs.h
@@ -855,6 +855,19 @@ extern int ip_vs_icmp_xmit
855(struct sk_buff *skb, struct ip_vs_conn *cp, struct ip_vs_protocol *pp, int offset); 855(struct sk_buff *skb, struct ip_vs_conn *cp, struct ip_vs_protocol *pp, int offset);
856extern void ip_vs_dst_reset(struct ip_vs_dest *dest); 856extern void ip_vs_dst_reset(struct ip_vs_dest *dest);
857 857
858#ifdef CONFIG_IP_VS_IPV6
859extern int ip_vs_bypass_xmit_v6
860(struct sk_buff *skb, struct ip_vs_conn *cp, struct ip_vs_protocol *pp);
861extern int ip_vs_nat_xmit_v6
862(struct sk_buff *skb, struct ip_vs_conn *cp, struct ip_vs_protocol *pp);
863extern int ip_vs_tunnel_xmit_v6
864(struct sk_buff *skb, struct ip_vs_conn *cp, struct ip_vs_protocol *pp);
865extern int ip_vs_dr_xmit_v6
866(struct sk_buff *skb, struct ip_vs_conn *cp, struct ip_vs_protocol *pp);
867extern int ip_vs_icmp_xmit_v6
868(struct sk_buff *skb, struct ip_vs_conn *cp, struct ip_vs_protocol *pp,
869 int offset);
870#endif
858 871
859/* 872/*
860 * This is a simple mechanism to ignore packets when 873 * This is a simple mechanism to ignore packets when
@@ -899,7 +912,12 @@ static inline char ip_vs_fwd_tag(struct ip_vs_conn *cp)
899} 912}
900 913
901extern void ip_vs_nat_icmp(struct sk_buff *skb, struct ip_vs_protocol *pp, 914extern void ip_vs_nat_icmp(struct sk_buff *skb, struct ip_vs_protocol *pp,
902 struct ip_vs_conn *cp, int dir); 915 struct ip_vs_conn *cp, int dir);
916
917#ifdef CONFIG_IP_VS_IPV6
918extern void ip_vs_nat_icmp_v6(struct sk_buff *skb, struct ip_vs_protocol *pp,
919 struct ip_vs_conn *cp, int dir);
920#endif
903 921
904extern __sum16 ip_vs_checksum_complete(struct sk_buff *skb, int offset); 922extern __sum16 ip_vs_checksum_complete(struct sk_buff *skb, int offset);
905 923