summaryrefslogtreecommitdiff
path: root/keypair.c
AgeCommit message (Expand)AuthorFilesLines
2013-06-12keypair: add missing include fileDaniel Borkmann1-0/+1
2013-06-11keypair: do selftest before generating and verifying keypairDaniel Borkmann1-0/+4
2013-06-04keypair: Add routines to generate and verify a keypairDaniel Borkmann1-0/+71
h=nds-private-remove&id=2b03bf732488a3c2e920afe22c03b82cb8477e28'>2b03bf732488a3c2e920afe22c03b82cb8477e28 (patch) tree116f31f5533c7a0a97bf811417b18c81591e7540 parent14e2dee0996f51e0ff0d868497c7e1b90f012665 (diff)
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