]> git.ipfire.org Git - thirdparty/iptables.git/commit
nft: Introduce struct nft_chain
authorPhil Sutter <phil@nwl.cc>
Wed, 29 Jul 2020 12:33:33 +0000 (14:33 +0200)
committerPhil Sutter <phil@nwl.cc>
Mon, 21 Dec 2020 17:33:21 +0000 (18:33 +0100)
commit87cce1cc4e1edfa03e56a2f9c72ee3cb3485f52b
treefdb705dfbf4842246a8a15b1a4f0ab5c037782ce
parent9189d1898f2f6c10689e1147e97f3a382d272e41
nft: Introduce struct nft_chain

Preparing for ordered output of user-defined chains, introduce a local
datatype wrapping nftnl_chain. In order to maintain the chain name hash
table, introduce nft_chain_list as well and use it instead of
nftnl_chain_list.

Signed-off-by: Phil Sutter <phil@nwl.cc>
iptables/Makefile.am
iptables/nft-cache.c
iptables/nft-cache.h
iptables/nft-chain.c [new file with mode: 0644]
iptables/nft-chain.h [new file with mode: 0644]
iptables/nft.c
iptables/nft.h