summaryrefslogtreecommitdiff
path: root/ioexact.h
AgeCommit message (Collapse)AuthorFilesLines
2013-06-17ioexact: make mayexit a boolDaniel Borkmann1-2/+4
It's used as such, so therefore make it a bool instead of int. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
2013-06-04xio: add ioexact operationsDaniel Borkmann1-0/+7
Break this out so that we only need to have sigint non-static where it is really needed. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
a>) 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