diff options
author | 2016-09-06 08:44:19 +0200 | |
---|---|---|
committer | 2016-09-12 18:37:12 +0200 | |
commit | 70ca767ea1b2748f45e96192400e515dddbe517c (patch) | |
tree | 8888737ffc4c3ad54156568184c646318bed2a2f /net/netfilter/nft_dynset.c | |
parent | netfilter: nf_conntrack: remove unused ctl_table_path member in nf_conntrack_l3proto (diff) | |
download | wireguard-linux-70ca767ea1b2748f45e96192400e515dddbe517c.tar.xz wireguard-linux-70ca767ea1b2748f45e96192400e515dddbe517c.zip |
netfilter: nft_hash: Add hash offset value
Add support to pass through an offset to the hash value. With this
feature, the sysadmin is able to generate a hash with a given
offset value.
Example:
meta mark set jhash ip saddr mod 2 seed 0xabcd offset 100
This option generates marks according to the source address from 100 to
101.
Signed-off-by: Laura Garcia Liebana <nevola@gmail.com>
Diffstat (limited to 'net/netfilter/nft_dynset.c')
0 files changed, 0 insertions, 0 deletions