diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-10-24 18:37:48 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-10-24 20:08:24 +0200 |
commit | 15ab98728c3cb1a35273abbf63936c0dce7fd557 (patch) | |
tree | 7ff5dee8a38d8bc8d637145572c5b91a23c31498 /include/netlink.h | |
parent | 1a98264ddba1ccb5f27115259c8e8c1dc34948fa (diff) |
mnl: remove alloc_nftnl_flowtable()
We can remove alloc_nftnl_flowtable() and consolidate infrastructure in
the src/mnl.c file.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/netlink.h')
-rw-r--r-- | include/netlink.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/netlink.h b/include/netlink.h index b82ca727..8bdf192b 100644 --- a/include/netlink.h +++ b/include/netlink.h @@ -136,10 +136,6 @@ extern struct obj *netlink_delinearize_obj(struct netlink_ctx *ctx, extern int netlink_list_flowtables(struct netlink_ctx *ctx, const struct handle *h); -extern int netlink_add_flowtable(struct netlink_ctx *ctx, - const struct cmd *cmd, uint32_t flags); -extern int netlink_delete_flowtable(struct netlink_ctx *ctx, - const struct cmd *cmd); extern void netlink_dump_chain(const struct nftnl_chain *nlc, struct netlink_ctx *ctx); @@ -150,6 +146,7 @@ extern void netlink_dump_expr(const struct nftnl_expr *nle, extern void netlink_dump_set(const struct nftnl_set *nls, struct netlink_ctx *ctx); extern void netlink_dump_obj(struct nftnl_obj *nlo, struct netlink_ctx *ctx); +extern void netlink_dump_flowtable(struct nftnl_flowtable *flo, struct netlink_ctx *ctx); extern int netlink_batch_send(struct netlink_ctx *ctx, struct list_head *err_list); |