Please find here the second part of the ct expectation support. When needed, please ask me for the third part: nft patch. Stéphane Veyret (2): src: add ct expectation support examples: add ct expectation examples examples/Makefile.am | 16 ++ examples/nft-ct-expectation-add.c | 153 ++++++++++++++++++ examples/nft-ct-expectation-del.c | 126 +++++++++++++++ examples/nft-ct-expectation-get.c | 142 +++++++++++++++++ examples/nft-rule-ct-expectation-add.c | 163 +++++++++++++++++++ include/libnftnl/object.h | 8 + include/linux/netfilter/nf_tables.h | 14 +- include/obj.h | 8 + src/Makefile.am | 1 + src/obj/ct_expect.c | 213 +++++++++++++++++++++++++ src/object.c | 1 + 11 files changed, 844 insertions(+), 1 deletion(-) create mode 100644 examples/nft-ct-expectation-add.c create mode 100644 examples/nft-ct-expectation-del.c create mode 100644 examples/nft-ct-expectation-get.c create mode 100644 examples/nft-rule-ct-expectation-add.c create mode 100644 src/obj/ct_expect.c -- 2.21.0