summaryrefslogtreecommitdiffstats
path: root/net/netfilter/Makefile
diff options
context:
space:
mode:
authorLaura Garcia Liebana2016-08-11 18:02:07 +0200
committerPablo Neira Ayuso2016-08-12 14:16:04 +0200
commitcb1b69b0b15b2897daeba8674c14c85a23a3347f (patch)
tree697f80cc7ac91f39cf5eeb2df4e50eeae695000c /net/netfilter/Makefile
parentnetfilter: nf_tables: rename set implementations (diff)
downloadkernel-qcow2-linux-cb1b69b0b15b2897daeba8674c14c85a23a3347f.tar.gz
kernel-qcow2-linux-cb1b69b0b15b2897daeba8674c14c85a23a3347f.tar.xz
kernel-qcow2-linux-cb1b69b0b15b2897daeba8674c14c85a23a3347f.zip
netfilter: nf_tables: add hash expression
This patch adds a new hash expression, this provides jhash support but this can be extended to support for other hash functions. The modulus and seed already comes embedded into this new expression. Use case example: ... meta mark set hash ip saddr mod 10 Signed-off-by: Laura Garcia Liebana <nevola@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/Makefile')
-rw-r--r--net/netfilter/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/netfilter/Makefile b/net/netfilter/Makefile
index 101fb859203c..1106ccde215c 100644
--- a/net/netfilter/Makefile
+++ b/net/netfilter/Makefile
@@ -92,6 +92,7 @@ obj-$(CONFIG_NFT_COUNTER) += nft_counter.o
obj-$(CONFIG_NFT_LOG) += nft_log.o
obj-$(CONFIG_NFT_MASQ) += nft_masq.o
obj-$(CONFIG_NFT_REDIR) += nft_redir.o
+obj-$(CONFIG_NFT_HASH) += nft_hash.o
# nf_tables netdev
obj-$(CONFIG_NFT_DUP_NETDEV) += nft_dup_netdev.o