The following series implements changes in nft code that permit to reuse some functions in other tool (like xtables-arptables). I changed nft.h, now struct nft_handle gets a struct builtin_table pointer used in functions to works with a properly tables and not with tables declared in nft.c. --- Giuseppe Longo (5): nft: add builtin_table nft: search builtin tables via nft_handle tables pointer nft: nft_xtables_config_load() called only in nft_init() nft: make functions public nft: replace args.family iptables/nft.c | 82 +++++++++++++++-------------------------- iptables/nft.h | 44 ++++++++++++++++++++++ iptables/xtables-config.c | 9 +++-- iptables/xtables-restore.c | 19 +++++----- iptables/xtables-save.c | 18 +++++---- iptables/xtables-standalone.c | 16 +++----- iptables/xtables.c | 9 ++++- 7 files changed, 111 insertions(+), 86 deletions(-) -- -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html