commit | cb1b69b0b15b2897daeba8674c14c85a23a3347f | [log] [tgz] |
---|---|---|
author | Laura Garcia Liebana <nevola@gmail.com> | Thu Aug 11 18:02:07 2016 +0200 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Fri Aug 12 14:16:04 2016 +0200 |
tree | 697f80cc7ac91f39cf5eeb2df4e50eeae695000c | |
parent | 0ed6389c483dc77cdbdd48de0ca7ce41723dd667 [diff] |
netfilter: nf_tables: add hash expression This patch adds a new hash expression, this provides jhash support but this can be extended to support for other hash functions. The modulus and seed already comes embedded into this new expression. Use case example: ... meta mark set hash ip saddr mod 10 Signed-off-by: Laura Garcia Liebana <nevola@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>