Home
last modified time | relevance | path

Searched refs:base_chains (Results 1 – 3 of 3) sorted by relevance

/third_party/iptables/iptables/
Dnft-cache.c219 if (h->cache->table[t->type].base_chains[hooknum]) { in nft_cache_add_chain()
224 h->cache->table[t->type].base_chains[hooknum] = nc; in nft_cache_add_chain()
640 static void flush_base_chain_cache(struct nft_chain **base_chains) in flush_base_chain_cache() argument
645 if (!base_chains[i]) in flush_base_chain_cache()
647 hlist_del(&base_chains[i]->hnode); in flush_base_chain_cache()
648 nft_chain_free(base_chains[i]); in flush_base_chain_cache()
649 base_chains[i] = NULL; in flush_base_chain_cache()
664 flush_base_chain_cache(c->table[table->type].base_chains); in flush_cache()
677 flush_base_chain_cache(c->table[i].base_chains); in flush_cache()
Dnft.h43 struct nft_chain *base_chains[NF_INET_NUMHOOKS]; member
Dnft.c800 if (h->cache->table[t->type].base_chains[c->hook]) in nft_xt_builtin_init()
827 bcp = h->cache->table[t->type].base_chains; in __nft_xt_fake_builtin_chains()
2468 c = h->cache->table[t->type].base_chains[i]; in nft_chain_foreach()