Dimitry V. Ketov
2003-Jun-14 15:44 UTC
[patch] setup.klib (tcng-9e) patch for linux-2.4.21 changes
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 <linux/mm.h> /* ugly but necessary ... */
+#include <linux/compiler.h>
#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/
Werner Almesberger
2003-Jun-16 17:17 UTC
Re: [patch] setup.klib (tcng-9e) patch for linux-2.4.21 changes
Dimitry V. Ketov wrote:> Some things were changed in recent 2.4.21 kernel, so here is the patch > for tcng-9e, if you''re interesting in.Thanks a lot ! I''ll make a new release of tcng soon. - Werner -- _________________________________________________________________________ / Werner Almesberger, Buenos Aires, Argentina wa@almesberger.net / /_http://www.almesberger.net/____________________________________________/ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/