summaryrefslogtreecommitdiffstats
path: root/src/netlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/netlink.c')
-rw-r--r--src/netlink.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/netlink.c b/src/netlink.c
index 3cf42351..60635054 100644
--- a/src/netlink.c
+++ b/src/netlink.c
@@ -444,11 +444,6 @@ static int netlink_list_rules(struct netlink_ctx *ctx, const struct handle *h)
return 0;
}
-static int netlink_flush_rules(struct netlink_ctx *ctx, const struct cmd *cmd)
-{
- return mnl_nft_rule_del(ctx, cmd);
-}
-
void netlink_dump_chain(const struct nftnl_chain *nlc, struct netlink_ctx *ctx)
{
FILE *fp = ctx->octx->output_fp;
@@ -593,11 +588,6 @@ int netlink_list_table(struct netlink_ctx *ctx, const struct handle *h)
return netlink_list_rules(ctx, h);
}
-int netlink_flush_table(struct netlink_ctx *ctx, const struct cmd *cmd)
-{
- return netlink_flush_rules(ctx, cmd);
-}
-
enum nft_data_types dtype_map_to_kernel(const struct datatype *dtype)
{
switch (dtype->type) {