Home
last modified time | relevance | path

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

/linux/net/netfilter/
H A Dnf_tables_offload.c521 if (!(nft_trans_chain(trans)->flags & NFT_CHAIN_HW_OFFLOAD) || in nft_flow_rule_offload_abort()
525 err = nft_flow_offload_chain(nft_trans_chain(trans), NULL, in nft_flow_rule_offload_abort()
529 if (!(nft_trans_chain(trans)->flags & NFT_CHAIN_HW_OFFLOAD)) in nft_flow_rule_offload_abort()
532 err = nft_flow_offload_chain(nft_trans_chain(trans), NULL, in nft_flow_rule_offload_abort()
572 if (!(nft_trans_chain(trans)->flags & NFT_CHAIN_HW_OFFLOAD) || in nft_flow_rule_offload_commit()
577 err = nft_flow_offload_chain(nft_trans_chain(trans), &policy, in nft_flow_rule_offload_commit()
581 if (!(nft_trans_chain(trans)->flags & NFT_CHAIN_HW_OFFLOAD)) in nft_flow_rule_offload_commit()
585 err = nft_flow_offload_chain(nft_trans_chain(trans), &policy, in nft_flow_rule_offload_commit()
H A Dnf_tables_api.c260 if (nft_trans_chain(trans) == chain) in __nft_chain_trans_bind()
501 nft_chain_binding(nft_trans_chain(trans))) in nft_trans_commit_list_add_tail()
555 struct nft_trans_chain *trans_chain; in nft_trans_alloc_chain()
558 trans = nft_trans_alloc(ctx, msg_type, sizeof(struct nft_trans_chain)); in nft_trans_alloc_chain()
1379 nft_is_base_chain(nft_trans_chain(trans))))) in nft_table_pending_update()
2209 static void nft_chain_stats_replace(struct nft_trans_chain *trans) in nft_chain_stats_replace()
2935 nft_trans_chain(trans)->table == table && in nft_chain_lookup_byid()
2937 nft_active_genmask(nft_trans_chain(trans), genmask)) in nft_chain_lookup_byid()
2938 return nft_trans_chain(trans); in nft_chain_lookup_byid()
9842 static void nft_chain_commit_drop_policy(struct nft_trans_chain *trans) in nft_chain_commit_drop_policy()
[all …]
/linux/include/net/netfilter/
H A Dnf_tables.h1709 struct nft_trans_chain { struct
1723 container_of(t, struct nft_trans_chain, nft_trans_binding.nft_trans) argument
1724 #define nft_trans_chain(trans) \ macro
1843 ctx->chain = nft_trans_chain(trans); in nft_ctx_update()