Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | expr: hash: Add offset to hash value | Laura Garcia Liebana | 2016-09-12 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | 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> | ||||
* | expr: add hash expression | Laura Garcia Liebana | 2016-08-17 | 1 | -0/+102 |
Support for the nft hash expression in libnftnl. Signed-off-by: Laura Garcia Liebana <nevola@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> |