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 /net/netfilter/nft_dynset.c | |
| parent | netfilter: nf_conntrack: remove unused ctl_table_path member in nf_conntrack_... (diff) | |
| download | linux-70ca767ea1b2748f45e96192400e515dddbe517c.tar.gz 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
