summaryrefslogtreecommitdiffstats
path: root/include/netlink.h
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2012-12-14 17:39:22 +0100
committerPatrick McHardy <kaber@trash.net>2012-12-14 17:39:22 +0100
commita5dadd72bef79d92c14271fb8718a13f0e7f3814 (patch)
tree7ca8daa07c624e51f59de8962e9a7b2467c3b3b2 /include/netlink.h
parent1c494b5302b285d6674478a3555b63403bebdcb0 (diff)
chains: add chain rename support
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/netlink.h')
-rw-r--r--include/netlink.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/netlink.h b/include/netlink.h
index 22ef489c..8edd1a39 100644
--- a/include/netlink.h
+++ b/include/netlink.h
@@ -57,6 +57,8 @@ extern int netlink_get_rule(struct netlink_ctx *ctx, const struct handle *h);
extern int netlink_add_chain(struct netlink_ctx *ctx, const struct handle *h,
const struct chain *chain);
+extern int netlink_rename_chain(struct netlink_ctx *ctx, const struct handle *h,
+ const char *name);
extern int netlink_delete_chain(struct netlink_ctx *ctx, const struct handle *h);
extern int netlink_list_chains(struct netlink_ctx *ctx, const struct handle *h);
extern int netlink_get_chain(struct netlink_ctx *ctx, const struct handle *h);