Searched refs:basechain (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/net/netfilter/ |
H A D | nf_tables_offload.c | 214 if (basechain->ops.priority <= 0 || in nft_chain_offload_priority() 271 struct nft_base_chain *basechain; in nft_flow_offload_cmd() local 276 basechain = nft_base_chain(chain); in nft_flow_offload_cmd() 281 &basechain->flow_block.cb_list); in nft_flow_offload_cmd() 315 struct nft_base_chain *basechain) in nft_flow_offload_bind() argument 330 chain = &basechain->chain; in nft_flow_offload_unbind() 375 bo->block = &basechain->flow_block; in nft_flow_block_offload_init() 410 basechain, &extack); in nft_indr_block_cleanup() 493 struct nft_base_chain *basechain; in nft_flow_offload_chain() local 499 basechain = nft_base_chain(chain); in nft_flow_offload_chain() [all …]
|
H A D | nf_tables_trace.c | 176 return &info->basechain->chain; in nft_trace_get_chain() 184 return &info->basechain->chain; in nft_trace_get_chain() 233 nlh = nfnl_msg_put(skb, 0, 0, event, 0, info->basechain->type->family, in nft_trace_notify() 276 htonl(info->basechain->policy))) in nft_trace_notify() 308 info->basechain = nft_base_chain(chain); in nft_trace_init()
|
H A D | nft_chain_filter.c | 324 struct nft_base_chain *basechain = nft_base_chain(ctx->chain); in nft_netdev_event() local 331 list_for_each_entry(hook, &basechain->hook_list, list) { in nft_netdev_event() 362 struct nft_base_chain *basechain; in nf_tables_netdev_event() local 387 basechain = nft_base_chain(chain); in nf_tables_netdev_event() 389 basechain->ops.hooknum != NF_INET_INGRESS) in nf_tables_netdev_event()
|
H A D | nft_compat.c | 36 const struct nft_base_chain *basechain; in nft_compat_chain_validate_dependency() local 42 basechain = nft_base_chain(chain); in nft_compat_chain_validate_dependency() 46 if (basechain->type->type != type) in nft_compat_chain_validate_dependency() 173 const struct nft_base_chain *basechain = in nft_target_set_tgchk_param() local 175 const struct nf_hook_ops *ops = &basechain->ops; in nft_target_set_tgchk_param() 377 const struct nft_base_chain *basechain = in nft_target_validate() local 379 const struct nf_hook_ops *ops = &basechain->ops; in nft_target_validate() 474 const struct nft_base_chain *basechain = in nft_match_set_mtchk_param() local 476 const struct nf_hook_ops *ops = &basechain->ops; in nft_match_set_mtchk_param() 638 const struct nft_base_chain *basechain = in nft_match_validate() local [all …]
|
H A D | nf_tables_core.c | 255 const struct nft_chain *chain = priv, *basechain = chain; in nft_do_chain() local 268 nft_trace_init(&info, pkt, basechain); in nft_do_chain() 343 nft_update_chain_stats(basechain, pkt); in nft_do_chain() 345 return nft_base_chain(basechain)->policy; in nft_do_chain()
|
H A D | nf_tables_api.c | 330 ops = &basechain->ops; in nf_tables_register_hook() 353 ops = &basechain->ops; in __nf_tables_unregister_hook() 2100 kfree(basechain); in nf_tables_chain_destroy() 2258 if (!basechain) { in nft_chain_parse_hook() 2306 type = basechain->type; in nft_chain_parse_hook() 2463 basechain = kzalloc(sizeof(*basechain), GFP_KERNEL_ACCOUNT); in nf_tables_addchain() 2464 if (basechain == NULL) { in nf_tables_addchain() 2474 kfree(basechain); in nf_tables_addchain() 2483 kfree(basechain); in nf_tables_addchain() 2633 ops = &basechain->ops; in nf_tables_updchain() [all …]
|
/openbmc/linux/include/net/netfilter/ |
H A D | nf_tables_offload.h | 95 bool nft_chain_offload_support(const struct nft_base_chain *basechain);
|
H A D | nf_tables.h | 1465 const struct nft_base_chain *basechain; member 1469 const struct nft_chain *basechain); 1659 struct nft_base_chain *basechain; member 1678 (((struct nft_trans_chain *)trans->data)->basechain)
|