Home
last modified time | relevance | path

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

/net/core/
A Dflow_offload.c10 struct flow_rule *flow_rule_alloc(unsigned int num_actions) in flow_rule_alloc() argument
15 rule = kzalloc(struct_size(rule, action.entries, num_actions), in flow_rule_alloc()
20 rule->action.num_entries = num_actions; in flow_rule_alloc()
24 for (i = 0; i < num_actions; i++) in flow_rule_alloc()
31 struct flow_offload_action *offload_action_alloc(unsigned int num_actions) in offload_action_alloc() argument
36 fl_action = kzalloc(struct_size(fl_action, action.entries, num_actions), in offload_action_alloc()
41 fl_action->action.num_entries = num_actions; in offload_action_alloc()
45 for (i = 0; i < num_actions; i++) in offload_action_alloc()
/net/netfilter/
A Dnf_tables_offload.c10 static struct nft_flow_rule *nft_flow_rule_alloc(int num_actions) in nft_flow_rule_alloc() argument
18 flow->rule = flow_rule_alloc(num_actions); in nft_flow_rule_alloc()
93 int num_actions = 0, err; in nft_flow_rule_create() local
100 num_actions++; in nft_flow_rule_create()
105 if (num_actions == 0) in nft_flow_rule_create()
108 flow = nft_flow_rule_alloc(num_actions); in nft_flow_rule_create()
A Dnf_dup_netdev.c98 entry = &flow->rule->action.entries[ctx->num_actions++]; in nft_fwd_dup_netdev_offload()
A Dnft_immediate.c282 entry = &flow->rule->action.entries[ctx->num_actions++]; in nft_immediate_offload_verdict()

Completed in 10 milliseconds