This series contains a few fixes in patches 1-3, adds support for newly added ruleset elements in patches 4 and 5, extends fwd statement in JSON to catch up with standard syntax in patch 6 and finally introduces a document describing the schema in patch 7. Phil Sutter (7): JSON: Call verdict maps 'vmap' in JSON as well tests/py: Fix JSON for flowtable tests JSON: Don't print burst if equal to 5 JSON: Add support for socket expression JSON: Add support for connlimit statement JSON: Support latest enhancements of fwd statement doc: Add JSON schema documentation configure.ac | 10 + doc/.gitignore | 2 + doc/Makefile.am | 17 +- doc/libnftables-json.adoc | 1236 ++++++++++++++++++++++++++ include/json.h | 4 + include/socket.h | 2 + src/json.c | 39 +- src/parser_json.c | 84 +- src/socket.c | 2 + src/statement.c | 1 + tests/py/any/ct.t.json | 2 +- tests/py/any/ct.t.json.output | 2 +- tests/py/any/fwd.t | 1 + tests/py/any/fwd.t.json | 45 +- tests/py/any/fwd.t.json.output | 30 +- tests/py/any/fwd.t.payload | 6 + tests/py/any/meta.t.json | 2 +- tests/py/inet/fib.t.json | 2 +- tests/py/inet/fib.t.json.output | 2 +- tests/py/inet/socket.t.json | 28 + tests/py/inet/tcp.t.json | 6 +- tests/py/ip/flowtable.t.json | 1 + tests/py/ip/flowtable.t.json.output | 24 - tests/py/ip/ip.t.json | 4 +- tests/py/ip/masquerade.t.json | 2 +- tests/py/ip/redirect.t.json | 2 +- tests/py/ip6/flowtable.t.json | 2 + tests/py/ip6/flowtable.t.json.output | 8 +- tests/py/ip6/ip6.t.json | 4 +- tests/py/ip6/ip6.t.json.output | 2 +- tests/py/ip6/masquerade.t.json | 2 +- tests/py/ip6/redirect.t.json | 2 +- tests/py/ip6/vmap.t.json | 84 +- tests/py/ip6/vmap.t.json.output | 26 +- 34 files changed, 1546 insertions(+), 140 deletions(-) create mode 100644 doc/libnftables-json.adoc create mode 100644 tests/py/inet/socket.t.json delete mode 100644 tests/py/ip/flowtable.t.json.output -- 2.17.0 -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html