diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-05-20 10:51:26 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-05-20 14:15:52 +0200 |
commit | e3a1682b68848d4012ef99dab0ff41e7cdaf49fb (patch) | |
tree | 61d15ac7a1905320a96e473a5717e235777132ec /iptables/nft.h | |
parent | ec08209eebeb80d5e250b37b47c645bf7c5b69d9 (diff) |
nft: cache table list
nft_table_find() uses the table list cache to look up for existing
tables.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/nft.h')
-rw-r--r-- | iptables/nft.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/iptables/nft.h b/iptables/nft.h index c137c5c6..dc0797d3 100644 --- a/iptables/nft.h +++ b/iptables/nft.h @@ -28,6 +28,7 @@ struct builtin_table { }; struct nft_cache { + struct nftnl_table_list *tables; struct { struct nftnl_chain_list *chains; bool initialized; |