diff options
author | Laura Garcia Liebana | 2016-09-13 13:49:53 +0200 |
---|---|---|
committer | Pablo Neira Ayuso | 2016-09-22 16:33:05 +0200 |
commit | 2b03bf732488a3c2e920afe22c03b82cb8477e28 (patch) | |
tree | 116f31f5533c7a0a97bf811417b18c81591e7540 /net/netfilter/nft_byteorder.c | |
parent | netfilter: nft_hash: fix hash overflow validation (diff) | |
download | kernel-qcow2-linux-2b03bf732488a3c2e920afe22c03b82cb8477e28.tar.gz kernel-qcow2-linux-2b03bf732488a3c2e920afe22c03b82cb8477e28.tar.xz kernel-qcow2-linux-2b03bf732488a3c2e920afe22c03b82cb8477e28.zip |
netfilter: nft_numgen: add number generation offset
Add support of an offset value for incremental counter and random. With
this option the sysadmin is able to start the counter to a certain value
and then apply the generated number.
Example:
meta mark set numgen inc mod 2 offset 100
This will generate marks with the serie 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>
Diffstat (limited to 'net/netfilter/nft_byteorder.c')
0 files changed, 0 insertions, 0 deletions