summaryrefslogtreecommitdiffstats
path: root/src/gen.c
Commit message (Collapse)AuthorAgeFilesLines
* src: add ruleset generation classPablo Neira Ayuso2014-09-191-0/+199
The generation object currently only contains the uint32_t that indicates the generation ID. I could have just add the API to return the uint32_t ID instead, but I think this API is easier to extend without adding new APIs. We can probably include meaningful statistics in the generation message in the future without much hassle. This patch also extends examples/nft-events.c. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>