netfilter: add xt_hmark target for hash-based skb marking
authorHans Schillstrom <hans.schillstrom@ericsson.com>
Wed, 2 May 2012 07:49:47 +0000 (07:49 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 9 May 2012 10:54:05 +0000 (12:54 +0200)
commitcf308a1fae432f315989e2da6878bfaa3daa22b1
tree1997e797a147cc51df1b51eaf9744e84aa956838
parent84018f55ab883f03d41ec3c9ac7f0cc80830b20f
netfilter: add xt_hmark target for hash-based skb marking

The target allows you to create rules in the "raw" and "mangle" tables
which set the skbuff mark by means of hash calculation within a given
range. The nfmark can influence the routing method (see "Use netfilter
MARK value as routing key") and can also be used by other subsystems to
change their behaviour.

[ Part of this patch has been refactorized and modified by Pablo Neira Ayuso ]

Signed-off-by: Hans Schillstrom <hans.schillstrom@ericsson.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/linux/netfilter/xt_HMARK.h [new file with mode: 0644]
net/netfilter/Kconfig
net/netfilter/Makefile
net/netfilter/xt_HMARK.c [new file with mode: 0644]