Julius R. Volz wrote:
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h
index 9a51eba..b7b181e 100644
--- a/include/net/ip_vs.h
+++ b/include/net/ip_vs.h
@@ -11,7 +11,12 @@
#include <linux/sysctl.h> /* For ctl_path */
-#define IP_VS_VERSION_CODE 0x010201
+#ifdef __KERNEL__
+#include <linux/in6.h> /* For struct in6_addr */
+#include <linux/ipv6.h> /* For struct ipv6hdr */
include/net is always kernel only. At least it should be that way.
+#endif /* __KERNEL */
+
+#define IP_VS_VERSION_CODE 0x020000
#define NVERSION(version) \
(version >> 16) & 0xFF, \
(version >> 8) & 0xFF, \
@@ -95,6 +100,20 @@
#define IP_VS_SCHEDNAME_MAXLEN 16
#define IP_VS_IFNAME_MAXLEN 16
+union ip_vs_addr_user {
+ __be32 v4;
+ struct in6_addr v6;
+};
Can't you use nf_inet_addr for this?
--
To unsubscribe from this list: send the line "unsubscribe lvs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
|