From: Patrick McHardy <kaber@trash.net>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "David S. Miller" <davem@davemloft.net>,
yoshfuji@linux-ipv6.org, kazunori@miyazawa.org,
netdev@oss.sgi.com, usagi-core@linux-ipv6.org
Subject: Re: [IPSEC] Store idev entries
Date: Wed, 04 May 2005 03:23:29 +0200 [thread overview]
Message-ID: <42782411.2070206@trash.net> (raw)
In-Reply-To: <20050504011956.GA20670@gondor.apana.org.au>
Herbert Xu wrote:
>>Hmm, I wonder why I didn't see this. Anyway, could you please add
>>the include to addrconf.h instead?
>
> Aha, I can see it if I do something like this.
>
>
> ------------------------------------------------------------------------
>
> ===== include/asm-i386/checksum.h 1.14 vs edited =====
> --- 1.14/include/asm-i386/checksum.h 2005-01-16 22:58:42 +11:00
> +++ edited/include/asm-i386/checksum.h 2005-05-04 11:17:09 +10:00
> @@ -1,8 +1,6 @@
> #ifndef _I386_CHECKSUM_H
> #define _I386_CHECKSUM_H
>
> -#include <linux/in6.h>
> -
> /*
> * computes the checksum of a memory block at buff, length len,
> * and adds in "sum" (32-bit)
> @@ -145,6 +143,7 @@
> }
>
> #define _HAVE_ARCH_IPV6_CSUM
> +struct in6_addr;
> static __inline__ unsigned short int csum_ipv6_magic(struct in6_addr *saddr,
> struct in6_addr *daddr,
> __u32 len,
I use x86_64, which explains why I saw the error:
struct in6_addr;
#define _HAVE_ARCH_IPV6_CSUM 1
csum_ipv6_magic(struct in6_addr *saddr, struct in6_addr *daddr,
__u32 len, unsigned short proto, unsigned int sum);
Regards
Patrick
next prev parent reply other threads:[~2005-05-04 1:23 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-30 2:25 [PATCH][IPv6][IPsec] stop infinite loop Kazunori Miyazawa
2005-04-30 3:07 ` YOSHIFUJI Hideaki / 吉藤英明
2005-04-30 3:11 ` Herbert Xu
2005-04-30 8:23 ` [IPSEC] Store idev entries (was: [PATCH][IPv6][IPsec] stop infinite loop) Herbert Xu
2005-04-30 11:43 ` Herbert Xu
2005-05-03 23:26 ` David S. Miller
2005-05-04 0:46 ` Herbert Xu
2005-05-04 1:06 ` [IPSEC] Store idev entries Patrick McHardy
2005-05-04 1:12 ` Herbert Xu
2005-05-04 1:19 ` Herbert Xu
2005-05-04 1:23 ` Patrick McHardy [this message]
2005-05-04 1:20 ` Patrick McHardy
2005-05-04 5:16 ` David S. Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42782411.2070206@trash.net \
--to=kaber@trash.net \
--cc=davem@davemloft.net \
--cc=herbert@gondor.apana.org.au \
--cc=kazunori@miyazawa.org \
--cc=netdev@oss.sgi.com \
--cc=usagi-core@linux-ipv6.org \
--cc=yoshfuji@linux-ipv6.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.