Add two initial example files: - use buffer API to load a ruleset - load JSON ruleset from file Pablo Neira Ayuso (2): examples: add libnftables example program examples: load ruleset from JSON configure.ac | 1 + examples/Makefile.am | 4 ++++ examples/json-ruleset.nft | 43 +++++++++++++++++++++++++++++++++++++++ examples/nft-buffer.c | 34 +++++++++++++++++++++++++++++++ examples/nft-json-file.c | 30 +++++++++++++++++++++++++++ 5 files changed, 112 insertions(+) create mode 100644 examples/Makefile.am create mode 100644 examples/json-ruleset.nft create mode 100644 examples/nft-buffer.c create mode 100644 examples/nft-json-file.c -- 2.30.2