Home
last modified time | relevance | path

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

/linux-4.4.14/net/netfilter/
Dnf_tables_api.c397 static const struct nf_chain_type *chain_type[AF_MAX][NFT_CHAIN_T_MAX]; variable
405 if (chain_type[family][i] != NULL && in __nf_tables_chain_type_lookup()
406 !nla_strcmp(nla, chain_type[family][i]->name)) in __nf_tables_chain_type_lookup()
407 return chain_type[family][i]; in __nf_tables_chain_type_lookup()
856 if (chain_type[ctype->family][ctype->type] != NULL) { in nft_register_chain_type()
860 chain_type[ctype->family][ctype->type] = ctype; in nft_register_chain_type()
870 chain_type[ctype->family][ctype->type] = NULL; in nft_unregister_chain_type()
1347 type = chain_type[family][NFT_CHAIN_T_DEFAULT]; in nf_tables_newchain()