summaryrefslogtreecommitdiffstats
path: root/iptables/nft-chain.h
Commit message (Collapse)AuthorAgeFilesLines
* nft-chain: Introduce base_slot fieldPhil Sutter2021-09-271-0/+1
| | | | | | | | For builtin chains, record the base_chains array slot they are assigned to. This simplifies removing that reference if they are being deleted later. Signed-off-by: Phil Sutter <phil@nwl.cc>
* nft: Introduce struct nft_chainPhil Sutter2020-12-211-0/+29
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>