diff options
author | Laura Garcia Liebana <nevola@gmail.com> | 2016-09-05 10:55:03 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-09-12 20:30:52 +0200 |
commit | 5877cc62d9bd1c7183992a2d05dd82d17ed12097 (patch) | |
tree | 97ba14e4c844bc7287d2115074be776c6a46cbeb /examples | |
parent | 3e885741cdc3498300419540333d9da43faa08f4 (diff) |
expr: hash: Add offset to hash 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
started 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>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions