path: root/iptables/nft.h
diff options
authorPablo Neira Ayuso <>2018-11-12 12:03:57 +0100
committerPablo Neira Ayuso <>2018-11-12 13:49:21 +0100
commit21ec111803febfe11693790f44400e3f0a5e2020 (patch)
treea41be185274ed96b131e8bca7e73f8bcc753bb68 /iptables/nft.h
parent05947c82232e3a3d20f93a1ba18e35e7f4e23671 (diff)
nft: replace nft_chain_dump() by nft_chain_list_get()
So we can remove nft_chain_dump() and replace nftnl_chain_get_list(). Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'iptables/nft.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/iptables/nft.h b/iptables/nft.h
index 7419ec21..bb5f03b4 100644
--- a/iptables/nft.h
+++ b/iptables/nft.h
@@ -76,7 +76,7 @@ struct builtin_table *nft_table_builtin_find(struct nft_handle *h, const char *t
struct nftnl_chain;
int nft_chain_set(struct nft_handle *h, const char *table, const char *chain, const char *policy, const struct xt_counters *counters);
-struct nftnl_chain_list *nft_chain_dump(struct nft_handle *h);
+struct nftnl_chain_list *nft_chain_list_get(struct nft_handle *h);
struct nftnl_chain *nft_chain_list_find(struct nftnl_chain_list *list, const char *table, const char *chain);
int nft_chain_save(struct nft_handle *h, struct nftnl_chain_list *list, const char *table);
int nft_chain_user_add(struct nft_handle *h, const char *chain, const char *table);