diff options
author | Harsha Sharma <harshasharmaiitr@gmail.com> | 2018-08-10 20:27:07 +0530 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-08-13 12:32:59 +0200 |
commit | ca086bde57d8e76b1a29001b3faa5affb20402c6 (patch) | |
tree | fc13aa2e21892212128b2e2fe0fff5980803a05e /examples/Makefile.am | |
parent | 0adceeab1597a3de87f5e0cc8ef364b0e1df8a4f (diff) |
examples: add nft-ct-timeout-{add,del,get}
Add, list and delete ct timeout objects from specified table
Usage e.g.:
% ./nft-ct-timeout-add ip filter some-name tcp
% ./nft-ct-timeout-get ip filter
table filter name some-name use 0 [ ct_timeout family 2 protocol 6
policy = {ESTABLISHED = 111,CLOSE_WAIT = 14, CLOSE = 16}]
% ./nft-ct-timeout-del ip filter some-name
Signed-off-by: Harsha Sharma <harshasharmaiitr@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'examples/Makefile.am')
-rw-r--r-- | examples/Makefile.am | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am index 3ec699b..d5584e5 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -25,6 +25,9 @@ check_PROGRAMS = nft-table-add \ nft-obj-add \ nft-obj-get \ nft-obj-del \ + nft-ct-timeout-add \ + nft-ct-timeout-get \ + nft-ct-timeout-del \ nft-flowtable-add \ nft-flowtable-del \ nft-flowtable-get \ @@ -111,6 +114,15 @@ nft_obj_del_LDADD = ../src/libnftnl.la ${LIBMNL_LIBS} nft_obj_get_SOURCES = nft-obj-get.c nft_obj_get_LDADD = ../src/libnftnl.la ${LIBMNL_LIBS} +nft_ct_timeout_add_SOURCES = nft-ct-timeout-add.c +nft_ct_timeout_add_LDADD = ../src/libnftnl.la ${LIBMNL_LIBS} + +nft_ct_timeout_get_SOURCES = nft-ct-timeout-get.c +nft_ct_timeout_get_LDADD = ../src/libnftnl.la ${LIBMNL_LIBS} + +nft_ct_timeout_del_SOURCES = nft-ct-timeout-del.c +nft_ct_timeout_del_LDADD = ../src/libnftnl.la ${LIBMNL_LIBS} + nft_flowtable_add_SOURCES = nft-flowtable-add.c nft_flowtable_add_LDADD = ../src/libnftnl.la ${LIBMNL_LIBS} |