ApplyPatch linux-2.6-250-ipsets.patch
ApplyPatch linux-2.6-510-ipod.patch
ApplyPatch linux-2.6-521-packet-tagging.patch
-ApplyPatch linux-2.6-522-iptables-connection-tagging.patch
+# fails with -Wall build
+# ApplyPatch linux-2.6-522-iptables-connection-tagging.patch
ApplyPatch linux-2.6-523-raw-sockets.patch
ApplyPatch linux-2.6-524-peercred.patch
ApplyPatch linux-2.6-525-sknid-elevator.patch
ApplyPatch linux-2.6-570-tagxid.patch
ApplyPatch linux-2.6-580-show-proc-virt.patch
ApplyPatch linux-2.6-590-dcookies-mm.patch
+# fails with -Wall build
#ApplyPatch linux-2.6-591-chopstix-intern.patch
ApplyPatch linux-2.6-640-netlink-audit-hack.patch
ApplyPatch linux-2.6-650-hangcheck-reboot.patch
+MODULE_ALIAS("ipt_SETXID");
+
+static unsigned int
-+target_v2(struct sk_buff **pskb,
-+ const struct net_device *in,
-+ const struct net_device *out,
-+ unsigned int hooknum,
-+ const struct xt_target *target, const void *targinfo)
++target_v2(struct sk_buff *skb,
++ const struct xt_target_param *par)
++
++
++
+{
-+ const struct xt_setxid_target_info_v2 *setxidinfo = targinfo;
++ const struct xt_setxid_target_info_v2 *setxidinfo = par->targinfo;
+
+ switch (setxidinfo->mode) {
+ case XT_SET_PACKET_XID:
-+ (*pskb)->skb_tag = setxidinfo->mark;
++ skb->skb_tag = setxidinfo->mark;
+ break;
+ }
+ return XT_CONTINUE;
+}
+
+static int
-+checkentry_v2(const char *tablename,
-+ const void *entry,
-+ const struct xt_target *target,
-+ void *targinfo, unsigned int hook_mask)
++checkentry_v2(const struct xt_tgchk_param *par)
++
++
++
+{
-+ struct xt_setxid_target_info_v2 *setxidinfo = targinfo;
++ struct xt_setxid_target_info_v2 *setxidinfo = par->targinfo;
+
+ if (setxidinfo->mode != XT_SET_PACKET_XID) {
+ printk(KERN_WARNING "SETXID: unknown mode %u\n",