Home
last modified time | relevance | path

Searched refs:nft_chain (Results 1 – 6 of 6) sorted by relevance

/external/iptables/iptables/
Dnft-chain.c15 struct nft_chain *nft_chain_alloc(struct nftnl_chain *nftnl) in nft_chain_alloc()
17 struct nft_chain *c = xtables_malloc(sizeof(*c)); in nft_chain_alloc()
25 void nft_chain_free(struct nft_chain *c) in nft_chain_free()
44 void nft_chain_list_del(struct nft_chain *c) in nft_chain_list_del()
52 struct nft_chain *c, *c2; in nft_chain_list_free()
Dnft-chain.h9 struct nft_chain { struct
22 struct nft_chain *nft_chain_alloc(struct nftnl_chain *nftnl); argument
23 void nft_chain_free(struct nft_chain *c);
27 void nft_chain_list_del(struct nft_chain *c);
Dnft-cache.h5 struct nft_chain;
15 struct nft_chain *c);
20 struct nft_chain *
Dnft-cache.c186 struct nft_chain *
191 struct nft_chain *c; in nft_chain_find()
209 struct nft_chain *nc = nft_chain_alloc(c); in nft_cache_add_chain()
228 struct nft_chain *cur; in nft_cache_add_chain()
492 static int nft_rule_list_update(struct nft_chain *nc, void *data) in nft_rule_list_update()
609 static int __flush_rule_cache(struct nft_chain *c, void *data) in __flush_rule_cache()
615 struct nft_chain *c) in flush_rule_cache()
624 static int __flush_chain_cache(struct nft_chain *c, void *data) in __flush_chain_cache()
640 static void flush_base_chain_cache(struct nft_chain **base_chains) in flush_base_chain_cache()
Dnft.c820 struct nft_chain **bcp; in __nft_xt_fake_builtin_chains()
1455 struct nft_chain *c; in nft_rule_append()
1607 int nft_chain_save(struct nft_chain *nc, void *data) in nft_chain_save()
1632 static int nft_rule_save_cb(struct nft_chain *c, void *data) in nft_rule_save_cb()
1713 static int nft_rule_flush_cb(struct nft_chain *c, void *data) in nft_rule_flush_cb()
1732 struct nft_chain *c = NULL; in nft_rule_flush()
1800 struct nft_chain *nc; in nft_chain_restore()
1850 static int __nft_chain_user_del(struct nft_chain *nc, void *data) in __nft_chain_user_del()
1885 struct nft_chain *c; in nft_chain_user_del()
1928 struct nft_chain *nc; in nft_chain_user_rename()
[all …]
Dnft.h43 struct nft_chain *base_chains[NF_INET_NUMHOOKS];
147 int nft_chain_save(struct nft_chain *c, void *data);
158 int (*cb)(struct nft_chain *c, void *data),