X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/48983d35d70395a391026c8f8bb1f44165ce058e..9c0ae271fee1a6f7c9af9690bf228ebc90ad327e:/target/linux/generic-2.6/patches-2.6.25/130-netfilter_ipset.patch diff --git a/target/linux/generic-2.6/patches-2.6.25/130-netfilter_ipset.patch b/target/linux/generic-2.6/patches-2.6.25/130-netfilter_ipset.patch index 88e33d5cf..ee9e87d7a 100644 --- a/target/linux/generic-2.6/patches-2.6.25/130-netfilter_ipset.patch +++ b/target/linux/generic-2.6/patches-2.6.25/130-netfilter_ipset.patch @@ -1,3 +1,20 @@ +--- a/include/linux/netfilter_ipv4/Kbuild ++++ b/include/linux/netfilter_ipv4/Kbuild +@@ -45,3 +45,14 @@ header-y += ipt_ttl.h + + unifdef-y += ip_queue.h + unifdef-y += ip_tables.h ++ ++unifdef-y += ip_set.h ++header-y += ip_set_iphash.h ++header-y += ip_set_ipmap.h ++header-y += ip_set_ipporthash.h ++unifdef-y += ip_set_iptree.h ++unifdef-y += ip_set_iptreemap.h ++header-y += ip_set_jhash.h ++header-y += ip_set_macipmap.h ++unifdef-y += ip_set_nethash.h ++header-y += ip_set_portmap.h --- /dev/null +++ b/include/linux/netfilter_ipv4/ip_set.h @@ -0,0 +1,498 @@ @@ -7517,7 +7534,7 @@ +module_exit(ipt_SET_fini); --- a/net/ipv4/netfilter/Kconfig +++ b/net/ipv4/netfilter/Kconfig -@@ -385,5 +385,122 @@ +@@ -385,5 +385,122 @@ config IP_NF_ARP_MANGLE Allows altering the ARP packet payload: source and destination hardware and network addresses. @@ -7642,7 +7659,7 @@ --- a/net/ipv4/netfilter/Makefile +++ b/net/ipv4/netfilter/Makefile -@@ -46,6 +46,7 @@ +@@ -46,6 +46,7 @@ obj-$(CONFIG_IP_NF_MATCH_AH) += ipt_ah.o obj-$(CONFIG_IP_NF_MATCH_ECN) += ipt_ecn.o obj-$(CONFIG_IP_NF_MATCH_RECENT) += ipt_recent.o obj-$(CONFIG_IP_NF_MATCH_TTL) += ipt_ttl.o @@ -7650,7 +7667,7 @@ obj-$(CONFIG_IP_NF_MATCH_IPP2P) += ipt_ipp2p.o -@@ -59,6 +60,18 @@ +@@ -59,6 +60,18 @@ obj-$(CONFIG_IP_NF_TARGET_REDIRECT) += i obj-$(CONFIG_IP_NF_TARGET_REJECT) += ipt_REJECT.o obj-$(CONFIG_IP_NF_TARGET_TTL) += ipt_TTL.o obj-$(CONFIG_IP_NF_TARGET_ULOG) += ipt_ULOG.o