Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | expr: numgen: add number generation offset | Laura Garcia Liebana | 2016-09-22 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | Add support to pass through an offset value to the counter initialization. With this feature, the sysadmin is able to apply a value to be added to the generated number. Example: meta mark set numgen inc mod 2 offset 100 This will generate marks with series 100, 101, 100, 101, ... Suggested-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Laura Garcia Liebana <nevola@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> | ||||
* | expr: numgen: Rename until attribute by modulus | Laura Garcia Liebana | 2016-09-07 | 1 | -4/+4 |
| | | | | | | | | | | | The _modulus_ attribute will be reused as _until_, as it's similar to other expressions with value limits (ex. hash). Renaming is possible according to the kernel module ntf_numgen that has not been released yet. Signed-off-by: Laura Garcia Liebana <nevola@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> | ||||
* | expr: add number generation expression | Laura Garcia Liebana | 2016-08-22 | 1 | -0/+98 |
Support for the nft ng expression within libnftnl. Signed-off-by: Laura Garcia Liebana <nevola@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> |