Home
last modified time | relevance | path

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

/linux/net/netfilter/
H A Dnf_tables_offload.c536 if (!(nft_trans_rule_chain(trans)->flags & NFT_CHAIN_HW_OFFLOAD)) in nft_flow_rule_offload_abort()
539 err = nft_flow_offload_rule(nft_trans_rule_chain(trans), in nft_flow_rule_offload_abort()
544 if (!(nft_trans_rule_chain(trans)->flags & NFT_CHAIN_HW_OFFLOAD)) in nft_flow_rule_offload_abort()
547 err = nft_flow_offload_rule(nft_trans_rule_chain(trans), in nft_flow_rule_offload_abort()
589 if (!(nft_trans_rule_chain(trans)->flags & NFT_CHAIN_HW_OFFLOAD)) in nft_flow_rule_offload_commit()
597 err = nft_flow_offload_rule(nft_trans_rule_chain(trans), in nft_flow_rule_offload_commit()
603 if (!(nft_trans_rule_chain(trans)->flags & NFT_CHAIN_HW_OFFLOAD)) in nft_flow_rule_offload_commit()
606 err = nft_flow_offload_rule(nft_trans_rule_chain(trans), in nft_flow_rule_offload_commit()
H A Dnf_tables_api.c261 if (nft_trans_rule_chain(trans) == chain) in __nft_chain_trans_bind()
556 nft_trans_rule_chain(trans) = ctx->chain; in nft_trans_rule_add()
4254 nft_trans_rule_chain(trans) == chain && in nft_rule_lookup_byid()
9800 struct nft_chain *chain = nft_trans_rule_chain(trans); in nf_tables_commit_chain_prepare_cancel()
10370 chain = nft_trans_rule_chain(trans); in nf_tables_commit()
10467 if (nft_trans_rule_chain(trans)->flags & NFT_CHAIN_HW_OFFLOAD) in nf_tables_commit()
10480 if (nft_trans_rule_chain(trans)->flags & NFT_CHAIN_HW_OFFLOAD) in nf_tables_commit()
10789 nft_use_dec_restore(&nft_trans_rule_chain(trans)->use); in __nf_tables_abort()
10794 if (nft_trans_rule_chain(trans)->flags & NFT_CHAIN_HW_OFFLOAD) in __nf_tables_abort()
10799 nft_use_inc_restore(&nft_trans_rule_chain(trans)->use); in __nf_tables_abort()
[all …]
/linux/include/net/netfilter/
H A Dnf_tables.h1680 #define nft_trans_rule_chain(trans) \ macro
1840 ctx->chain = nft_trans_rule_chain(trans); in nft_ctx_update()