diff options
author | Varsha Rao <rvarsha016@gmail.com> | 2017-08-16 19:48:16 +0530 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-08-17 12:48:20 +0200 |
commit | 93c272071a8fa886f59ee1d5c140ca093c981fdf (patch) | |
tree | fb6e2fe8b454a79a27cc9e3a2deb5a0151b7a69a /include | |
parent | 594805845af5104a12075f5e0f5ec4d66a2a3e5b (diff) |
src: netlink: Remove unused functions.
Remove netlink_add_rule_list(), netlink_dump_table(),
netlink_get_chain(), netlink_get_set(), netlink_get_table(),
netlink_list_chain() functions definitions as they are not
called anywhere in source code.
Signed-off-by: Varsha Rao <rvarsha016@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/netlink.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/netlink.h b/include/netlink.h index 0e1d26b6..4bed0e0b 100644 --- a/include/netlink.h +++ b/include/netlink.h @@ -111,8 +111,6 @@ extern int netlink_add_rule(struct netlink_ctx *ctx, const struct handle *h, const struct rule *rule, uint32_t flags); extern int netlink_delete_rule(struct netlink_ctx *ctx, const struct handle *h, const struct location *loc); -extern int netlink_add_rule_list(struct netlink_ctx *ctx, const struct handle *h, - const struct list_head *rule_list); extern int netlink_add_rule_batch(struct netlink_ctx *ctx, const struct handle *h, const struct rule *rule, uint32_t flags); @@ -133,10 +131,6 @@ extern int netlink_delete_chain(struct netlink_ctx *ctx, const struct handle *h, const struct location *loc); extern int netlink_list_chains(struct netlink_ctx *ctx, const struct handle *h, const struct location *loc); -extern int netlink_get_chain(struct netlink_ctx *ctx, const struct handle *h, - const struct location *loc); -extern int netlink_list_chain(struct netlink_ctx *ctx, const struct handle *h, - const struct location *loc); extern int netlink_flush_chain(struct netlink_ctx *ctx, const struct handle *h, const struct location *loc); @@ -147,8 +141,6 @@ extern int netlink_delete_table(struct netlink_ctx *ctx, const struct handle *h, const struct location *loc); extern int netlink_list_tables(struct netlink_ctx *ctx, const struct handle *h, const struct location *loc); -extern int netlink_get_table(struct netlink_ctx *ctx, const struct handle *h, - const struct location *loc, struct table *table); extern int netlink_list_table(struct netlink_ctx *ctx, const struct handle *h, const struct location *loc); extern int netlink_flush_table(struct netlink_ctx *ctx, const struct handle *h, @@ -160,8 +152,6 @@ extern int netlink_delete_set(struct netlink_ctx *ctx, const struct handle *h, const struct location *loc); extern int netlink_list_sets(struct netlink_ctx *ctx, const struct handle *h, const struct location *loc); -extern int netlink_get_set(struct netlink_ctx *ctx, const struct handle *h, - const struct location *loc); extern struct stmt *netlink_parse_set_expr(const struct set *set, const struct nft_cache *cache, @@ -186,7 +176,6 @@ extern int netlink_add_obj(struct netlink_ctx *ctx, const struct handle *h, extern int netlink_delete_obj(struct netlink_ctx *ctx, const struct handle *h, struct location *loc, uint32_t type); -extern void netlink_dump_table(const struct nftnl_table *nlt); extern void netlink_dump_chain(const struct nftnl_chain *nlc); extern void netlink_dump_rule(const struct nftnl_rule *nlr); extern void netlink_dump_expr(const struct nftnl_expr *nle); |