summaryrefslogtreecommitdiffstats
path: root/examples/nft-ruleset-get.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into next-3.14Pablo Neira Ayuso2014-02-031-6/+6
| | | | | | | | | | | | | | | | | This patch includes changes to adapt this branch to the library rename that happened in the master branch. Conflicts: src/Makefile.am src/expr/cmp.c src/expr/ct.c src/expr/data_reg.c src/expr/meta.c tests/jsonfiles/01-table.json tests/jsonfiles/02-table.json tests/jsonfiles/64-ruleset.json tests/xmlfiles/01-table.xml tests/xmlfiles/02-table.xml
* examples: add nft-ruleset-getArturo Borrero2014-01-041-0/+389
This example prints the ruleset, using the ruleset API of nftables. The kernel patch c9c8e48 ("netfilter: nf_tables: dump sets in all existing families") is required. Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>