*/
#include <linux/config.h>
+#include <linux/in6.h>
/*
* computes the checksum of a memory block at buff, length len,
}
#define _HAVE_ARCH_IPV6_CSUM
-#ifdef CONFIG_IPV6
static __inline__ unsigned short int csum_ipv6_magic(struct in6_addr *saddr,
struct in6_addr *daddr,
__u32 len,
return csum_fold(sum);
}
-#endif
/*
* Copy and checksum to user