diff options
author | Laura Garcia Liebana <nevola@gmail.com> | 2016-09-06 08:44:19 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-09-12 18:37:12 +0200 |
commit | 70ca767ea1b2748f45e96192400e515dddbe517c (patch) | |
tree | 8888737ffc4c3ad54156568184c646318bed2a2f /tools | |
parent | 3c15b8e112d7351b2586c649a759318548523364 (diff) |
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 'tools')
0 files changed, 0 insertions, 0 deletions