summaryrefslogtreecommitdiffstats
path: root/examples/nft-ruleset-parse-file.c
Commit message (Collapse)AuthorAgeFilesLines
* examples: add nft-ruleset-parse-fileAlvaro Neira2015-03-051-0/+486
With this example, we can parse the objects in the ruleset and create the netlink message with the action associated. For example: - Flush ruleset - Add, delete or flush tables/chains - Add, delete sets - Add, delete set elements - Add, delete, replace or prepend rules Signed-off-by: Alvaro Neira Ayuso <alvaroneay@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>