commit | 91dbc6be0a62d3bcea98287734d593610aed507d | [log] [tgz] |
---|---|---|
author | Laura Garcia Liebana <nevola@gmail.com> | Thu Aug 18 12:13:13 2016 +0200 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Mon Aug 22 11:42:22 2016 +0200 |
tree | 99b45cb0fc627a16fa2418f806b13ea1c7b0669e | |
parent | 3d2f30a1df907e3ef4175121f0d21456630a72aa [diff] |
netfilter: nf_tables: add number generator expression This patch adds the numgen expression that allows us to generated incremental and random numbers, this generator is bound to a upper limit that is specified by userspace. This expression is useful to distribute packets in a round-robin fashion as well as randomly. Signed-off-by: Laura Garcia Liebana <nevola@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>