summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLaura Garcia Liebana <nevola@gmail.com>2016-09-05 10:55:03 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2016-09-12 20:30:52 +0200
commit5877cc62d9bd1c7183992a2d05dd82d17ed12097 (patch)
tree97ba14e4c844bc7287d2115074be776c6a46cbeb /examples
parent3e885741cdc3498300419540333d9da43faa08f4 (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