From: "Dimitry V. Ketov" Date: Sat, 14 Jun 2003 15:44:54 +0000 Subject: [LARTC] [patch] setup.klib (tcng-9e) patch for linux-2.4.21 changes Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Some things were changed in recent 2.4.21 kernel, so here is the patch for tcng-9e, if you're interesting in. Dimitry. --- tcng-9e/tcsim/setup.klib.orig Fri Oct 11 02:30:23 2002 +++ tcng-9e/tcsim/setup.klib Sat Jun 14 19:36:08 2003 @@ -146,7 +146,7 @@ /^i.*rtnetlink_dump_all/,/^}/d /^i.*rtnetlink_dump_ifinfo/,/^}/d;/^v.*rtmsg_ifinfo/,/^}/d /rtnetlink_event/,$d;/link_rtnetlink_table/,/^}/d -/^s.*rtnetlink_rcv[(]/,/^}/d;s/__inline__//' \ +/^s.*rtnetlink_rcv[(]/,/^}/d;s/__inline__//;s/^static//' \ <$KSRC/net/core/rtnetlink.c >>rtnetlink.c sed '${/#endif/q;};d' <$KSRC/net/core/rtnetlink.c >>rtnetlink.c @@ -347,6 +347,7 @@ enum { IPPROTO_TCP = 6, IPPROTO_UDP = 17, + IPPROTO_ESP = 50 }; #if 0 @@ -412,6 +413,7 @@ #define _LINUX_KERNEL_H #include /* ugly but necessary ... */ +#include #define current_text_addr() 0 /* from include/asm/processor.h */ @@ -420,6 +422,8 @@ #define KERN_WARNING "<4>" #define KERN_ERR "<3>" +#define LONG_MAX ((long)(~0UL>>1)) + int printk(const char *fmt,...); #define BUG() ({ void abort(void); abort(); }) _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/