summaryrefslogtreecommitdiffstats
path: root/iptables/nft.h
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2019-07-25 17:19:14 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2019-07-29 15:20:55 +0200
commit06fd5e46d46f7454baa8f9470976002124827e53 (patch)
tree6254901762b3422a8e7a2972072672c0b8be26e8 /iptables/nft.h
parent719940f6f48d98f5b7aebe7562948f2cff6f5cf8 (diff)
xtables: Drop support for /etc/xtables.conf
As decided upon at NFWS2019, drop support for configurable nftables base chains to use with iptables-nft. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/nft.h')
-rw-r--r--iptables/nft.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/iptables/nft.h b/iptables/nft.h
index da078a44..5e5e765b 100644
--- a/iptables/nft.h
+++ b/iptables/nft.h
@@ -171,22 +171,6 @@ int ebt_get_current_chain(const char *chain);
int do_commandeb(struct nft_handle *h, int argc, char *argv[], char **table, bool restore);
/*
- * Parse config for tables and chain helper functions
- */
-#define XTABLES_CONFIG_DEFAULT "/etc/xtables.conf"
-
-struct nftnl_table_list;
-struct nftnl_chain_list;
-
-extern int xtables_config_parse(const char *filename, struct nftnl_table_list *table_list, struct nftnl_chain_list *chain_list);
-
-enum {
- NFT_LOAD_VERBOSE = (1 << 0),
-};
-
-int nft_xtables_config_load(struct nft_handle *h, const char *filename, uint32_t flags);
-
-/*
* Translation from iptables to nft
*/
struct xt_buf;