26 #ifndef _CHECKSUM_IPV6_H
27 #define _CHECKSUM_IPV6_H
29 #include <asm/types.h>
30 #include <asm/byteorder.h>
32 #include <asm/checksum.h>
33 #include <linux/in6.h>
35 #ifndef _HAVE_ARCH_IPV6_CSUM
49 carry = (sum < (
__force u32)saddr->s6_addr32[0]);
53 carry = (sum < (
__force u32)saddr->s6_addr32[1]);
57 carry = (sum < (
__force u32)saddr->s6_addr32[2]);
61 carry = (sum < (
__force u32)saddr->s6_addr32[3]);
65 carry = (sum < (
__force u32)daddr->s6_addr32[0]);
69 carry = (sum < (
__force u32)daddr->s6_addr32[1]);
73 carry = (sum < (
__force u32)daddr->s6_addr32[2]);
77 carry = (sum < (
__force u32)daddr->s6_addr32[3]);
87 carry = (sum < uproto);