diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-01-19 01:41:38 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-03-05 16:30:15 +0100 |
commit | f1f6c326d78594fd0dc279d4870502addcd6fcc2 (patch) | |
tree | 79750c93b413e4f31fdbd96baa60d45b0c0d6646 /include/netlink.h | |
parent | 92911b362e9067a9a335ac1a63e15119fb69a47d (diff) |
src: delete flowtable
This patch allows you to delete an existing flowtable:
# nft delete flowtable x m
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/netlink.h')
-rw-r--r-- | include/netlink.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/netlink.h b/include/netlink.h index 41fd55f9..cbe9164d 100644 --- a/include/netlink.h +++ b/include/netlink.h @@ -186,6 +186,9 @@ extern int netlink_list_flowtables(struct netlink_ctx *ctx, extern int netlink_add_flowtable(struct netlink_ctx *ctx, const struct handle *h, struct flowtable *ft, uint32_t flags); +extern int netlink_delete_flowtable(struct netlink_ctx *ctx, + const struct handle *h, + struct location *loc); extern void netlink_dump_chain(const struct nftnl_chain *nlc, struct netlink_ctx *ctx); |