Home
last modified time | relevance | path

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

/linux-4.1.27/net/netfilter/
Dnf_tables_api.c359 static const struct nf_chain_type *chain_type[AF_MAX][NFT_CHAIN_T_MAX]; variable
367 if (chain_type[family][i] != NULL && in __nf_tables_chain_type_lookup()
368 !nla_strcmp(nla, chain_type[family][i]->name)) in __nf_tables_chain_type_lookup()
369 return chain_type[family][i]; in __nf_tables_chain_type_lookup()
818 if (chain_type[ctype->family][ctype->type] != NULL) { in nft_register_chain_type()
822 chain_type[ctype->family][ctype->type] = ctype; in nft_register_chain_type()
832 chain_type[ctype->family][ctype->type] = NULL; in nft_unregister_chain_type()
1300 type = chain_type[family][NFT_CHAIN_T_DEFAULT]; in nf_tables_newchain()