Lines Matching defs:action

3  * net/sched/act_ct.c  Connection Tracking action
70 static void tcf_ct_add_mangle_action(struct flow_action *action,
78 entry = tcf_ct_flow_table_flow_action_get_next(action);
93 struct flow_action *action)
96 tcf_ct_add_mangle_action(action, FLOW_ACT_MANGLE_HDR_TYPE_IP4,
101 tcf_ct_add_mangle_action(action, FLOW_ACT_MANGLE_HDR_TYPE_IP4,
108 tcf_ct_add_ipv6_addr_mangle_action(struct flow_action *action,
115 tcf_ct_add_mangle_action(action, FLOW_ACT_MANGLE_HDR_TYPE_IP6,
123 struct flow_action *action)
126 tcf_ct_add_ipv6_addr_mangle_action(action, &target.src.u3,
130 tcf_ct_add_ipv6_addr_mangle_action(action, &target.dst.u3,
138 struct flow_action *action)
144 tcf_ct_add_mangle_action(action, FLOW_ACT_MANGLE_HDR_TYPE_TCP,
148 tcf_ct_add_mangle_action(action, FLOW_ACT_MANGLE_HDR_TYPE_TCP,
156 struct flow_action *action)
162 tcf_ct_add_mangle_action(action, FLOW_ACT_MANGLE_HDR_TYPE_UDP,
166 tcf_ct_add_mangle_action(action, FLOW_ACT_MANGLE_HDR_TYPE_UDP,
174 struct flow_action *action)
180 entry = tcf_ct_flow_table_flow_action_get_next(action);
200 struct flow_action *action)
213 action);
217 action);
225 tcf_ct_flow_table_add_action_nat_tcp(tuple, target, action);
228 tcf_ct_flow_table_add_action_nat_udp(tuple, target, action);
242 struct flow_action *action = &flow_rule->rule->action;
243 int num_entries = action->num_entries;
265 err = tcf_ct_flow_table_add_action_nat(net, ct, dir, action);
269 tcf_ct_flow_table_add_action_meta(ct, dir, ctinfo, action);
274 for (i = num_entries; i < action->num_entries; i++)
275 memset(&action->entries[i], 0, sizeof(action->entries[i]));
276 action->num_entries = num_entries;
311 .action = tcf_ct_flow_table_fill_actions,
927 int err, action = 0;
932 action |= BIT(NF_NAT_MANIP_SRC);
934 action |= BIT(NF_NAT_MANIP_DST);
936 err = nf_ct_nat(skb, ct, ctinfo, &action, range, commit);
938 if (action & BIT(NF_NAT_MANIP_SRC))
940 if (action & BIT(NF_NAT_MANIP_DST))
1005 * committing with a separate ct action, then we don't need to
1345 err = tcf_action_check_ctrlact(parm->action, tp, &goto_ch, extack);
1366 goto_ch = tcf_action_set_ctrlact(*a, parm->action, goto_ch);
1490 opt.action = c->tcf_action;
1564 entry->ct.action = tcf_ct_action(act);
1668 MODULE_DESCRIPTION("Connection tracking action");