Cipe on 2.6.16 patch

Erik Wallin <[email protected]> Thu, 25 May 2006 22:58:58 +0200
Newsgroups gmane.comp.encryption.cipe
Message-ID <[email protected]>
At least in the Gentoo distribution cipe fails to compile under
gentoo-sources-2.6.16-r7. I could imagine that a vanilla 2.6.16 kernel
would have the same problem.

The build complains about the function "RT_TOS" not being defined.

Adding the following include file seems to solve the problem.

#include <net/ip.h>
+#include <net/route.h>
#include <net/icmp.h>

linux/in_route.h was removed from linux/ip.h in 2.6.16. I'm not quite
sure if the kernel version of the include file (linux/in_route.h) or the
library version (net/route.h) should be used. Someone who is more
involved in the development should have the final word on that.

/Erik


--
Message sent by the [email protected] mailing list.
Unsubscribe: mail [email protected], "unsubscribe cipe-l" in body
Other commands available with "help" in body to the same address.
CIPE info and list archive: <URL:http://sites.inka.de/~bigred/devel/cipe.html>