diff options
Diffstat (limited to 'include/net/ip_vs.h')
-rw-r--r-- | include/net/ip_vs.h | 20 |
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); |
856 | extern void ip_vs_dst_reset(struct ip_vs_dest *dest); | 856 | extern void ip_vs_dst_reset(struct ip_vs_dest *dest); |
857 | 857 | ||
858 | #ifdef CONFIG_IP_VS_IPV6 | ||
859 | extern int ip_vs_bypass_xmit_v6 | ||
860 | (struct sk_buff *skb, struct ip_vs_conn *cp, struct ip_vs_protocol *pp); | ||
861 | extern int ip_vs_nat_xmit_v6 | ||
862 | (struct sk_buff *skb, struct ip_vs_conn *cp, struct ip_vs_protocol *pp); | ||
863 | extern int ip_vs_tunnel_xmit_v6 | ||
864 | (struct sk_buff *skb, struct ip_vs_conn *cp, struct ip_vs_protocol *pp); | ||
865 | extern int ip_vs_dr_xmit_v6 | ||
866 | (struct sk_buff *skb, struct ip_vs_conn *cp, struct ip_vs_protocol *pp); | ||
867 | extern 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 | ||
901 | extern void ip_vs_nat_icmp(struct sk_buff *skb, struct ip_vs_protocol *pp, | 914 | extern 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 | ||
918 | extern 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 | ||
904 | extern __sum16 ip_vs_checksum_complete(struct sk_buff *skb, int offset); | 922 | extern __sum16 ip_vs_checksum_complete(struct sk_buff *skb, int offset); |
905 | 923 | ||