All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH pom-ng] ipt_TARPIT for Linux 2.6.19
@ 2007-01-11  9:28 Max Kellermann
  2007-01-11  9:30 ` Patrick McHardy
  0 siblings, 1 reply; 2+ messages in thread
From: Max Kellermann @ 2007-01-11  9:28 UTC (permalink / raw)
  To: netfilter-devel

[-- Attachment #1: Type: text/plain, Size: 74 bytes --]

Hi,

this patch makes ipt_TARPIT.c conform to the Linux 2.6.19 API.

Max


[-- Attachment #2: ipt_tarpit-linux_2.6.19.patch --]
[-- Type: text/x-diff, Size: 1065 bytes --]

Index: patchlets/TARPIT/linux-2.6/net/ipv4/netfilter/ipt_TARPIT.c
===================================================================
--- patchlets/TARPIT/linux-2.6/net/ipv4/netfilter/ipt_TARPIT.c	(revision 6730)
+++ patchlets/TARPIT/linux-2.6/net/ipv4/netfilter/ipt_TARPIT.c	(working copy)
@@ -35,7 +35,6 @@
  * - Reply to TCP !SYN,!RST,!FIN with ACK, window 0 bytes, rate-limited
  */
 
-#include <linux/config.h>
 #include <linux/version.h>
 #include <linux/module.h>
 #include <linux/skbuff.h>
@@ -214,8 +213,8 @@
 			   const struct net_device *in,
 			   const struct net_device *out,
 			   unsigned int hooknum,
-			   const void *targinfo,
-			   void *userinfo)
+			   const struct xt_target *target,
+			   const void *targinfo)
 {
 	struct sk_buff *skb = *pskb;
 	struct rtable *rt = (struct rtable*)skb->dst;
@@ -249,8 +248,8 @@
 
 static int check(const char *tablename,
 		 const void *e_void,
+		 const struct xt_target *target,
 		 void *targinfo,
-		 unsigned int targinfosize,
 		 unsigned int hook_mask)
 {
 	const struct ipt_entry *e = e_void;

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-01-11  9:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-11  9:28 [PATCH pom-ng] ipt_TARPIT for Linux 2.6.19 Max Kellermann
2007-01-11  9:30 ` Patrick McHardy

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.