[Openswan Users] Klips patch
ted leslie
tleslie at tcn.net
Thu Mar 23 20:49:22 CET 2006
ok i have the following,
kernel 2.6.14 stock
openswan Klips patch 2.4.5rc4 and openswan 2.4.5rc4
THE PATCH applied and it compiled fine!!!!
but when i compiled openswan packages after dealing with the kernel .... i got ...
-----------------------------------------------------------------------
CC [M] /root/openswan-2.4.5rc4/modobj26/ipcomp.s
/root/openswan-2.4.5rc4/modobj26/ipcomp.c: In function ‘skb_copy_ipcomp’:
/root/openswan-2.4.5rc4/modobj26/ipcomp.c:677: error: ‘struct sk_buff’ has no member named ‘private’
/root/openswan-2.4.5rc4/modobj26/ipcomp.c:677: error: ‘struct sk_buff’ has no member named ‘private’
make[3]: *** [/root/openswan-2.4.5rc4/modobj26/ipcomp.s] Error 1
make[2]: *** [_module_/root/openswan-2.4.5rc4/modobj26] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.14'
---------------------------------------------------------------------------
the error points to this ...
#ifdef CONFIG_HIPPI
// n->private.ifield=skb->private.ifield;
#endif /* CONFIG_HIPPI */
I commented out the code line, and recompiled and it worked!!!
so my question is, .. what is HIPPI ?? and do i need it? what does HIPPI do,
if its a feature i dont use, then i can just continue on.
aside from this, linux 2.6.14 and 2.4.5rc4 is looking like a pretty good fit
-tl
On Fri, 24 Mar 2006 01:54:19 +0100 (CET)
Paul Wouters <paul at xelerance.com> wrote:
> On Thu, 23 Mar 2006, ted leslie wrote:
>
> > i just found that, for example, struct sk_buff in 2.6.14+
> > is different then in say 2.6.10 ... (list, stamp fields for example)
> > so it looks like the Klips patch labelled 2.4.4 can't be applied to
> > a normal 2.6.14 or higher kernel, i am seeing about 2.6.12 now,
> >
> > in the comments in the patch, since i saw reference to high 2.6.13
> > i figured 2.6.14 would be ok, but obviously not.
>
> No. It should work fine, because there are defines for that located in
> the file linux/include/openswan/ipsec_kversion.h
>
> eg:
>
> #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,14)
> /* skb->stamp changed to skb->tstamp in 2.6.14 */
> #define HAVE_TSTAMP
> #define HAVE_INET_SK_SPORT
> #undef SYSCTL_IPSEC_DEFAULT_TTL
> #define SYSCTL_IPSEC_DEFAULT_TTL IPSEC_DEFAULT_TTL
> #else
> #define HAVE_SKB_LIST
> #endif
>
> Paul
> --
> Building and integrating Virtual Private Networks with Openswan:
> http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155
>
More information about the Users
mailing list