summaryrefslogtreecommitdiffstats
path: root/net/sched/Makefile
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2012-07-11 10:56:57 +0000
committerDavid S. Miller <davem@davemloft.net>2012-07-12 07:54:46 -0700
commit6d4fa852a023080101f1665ea189dd1844c87fef (patch)
tree66d687daf267ae9143e3984b130b3aca6b4869c8 /net/sched/Makefile
parentfa919833e354b2e62b3c7d26920d1685ddc81eb2 (diff)
downloadop-kernel-dev-6d4fa852a023080101f1665ea189dd1844c87fef.zip
op-kernel-dev-6d4fa852a023080101f1665ea189dd1844c87fef.tar.gz
net: sched: add ipset ematch
Can be used to match packets against netfilter ip sets created via ipset(8). skb->sk_iif is used as 'incoming interface', skb->dev is 'outgoing interface'. Since ipset is usually called from netfilter, the ematch initializes a fake xt_action_param, pulls the ip header into the linear area and also sets skb->data to the IP header (otherwise matching Layer 4 set types doesn't work). Tested-by: Mr Dash Four <mr.dash.four@googlemail.com> Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/Makefile')
-rw-r--r--net/sched/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sched/Makefile b/net/sched/Makefile
index bcada75..978cbf0 100644
--- a/net/sched/Makefile
+++ b/net/sched/Makefile
@@ -56,3 +56,4 @@ obj-$(CONFIG_NET_EMATCH_U32) += em_u32.o
obj-$(CONFIG_NET_EMATCH_META) += em_meta.o
obj-$(CONFIG_NET_EMATCH_TEXT) += em_text.o
obj-$(CONFIG_NET_EMATCH_CANID) += em_canid.o
+obj-$(CONFIG_NET_EMATCH_IPSET) += em_ipset.o
OpenPOWER on IntegriCloud