Lines Matching defs:action

48 	int action;
188 int action;
470 static int seg6_flv_supp_ops_by_action(int action, __u32 *fops)
472 switch (action) {
527 /* The action table for RFC8986 flavors (see the flv8986_act_tbl below)
532 * action table. The index is structured as follows:
557 /* We compute the size of the action table by considering the RFC8986 flavors
565 /* tbl_cfg(act, pf, fm) macro is used to easily configure the action
568 * the action that should be applied on the packet;
581 * flavors, the action that should be taken on a packet (e.g.
585 * SEG6_LOCAL_FLV_ACT_UNSPEC action, which generally has the effect of
598 /* For each flavor defined in RFC8986 (or a combination of them) an action is
599 * performed on the packet. The specific action depends on:
606 * corresponding action to be taken on the packet.
742 enum seg6_local_flv_action action;
761 /* retrieve the action triggered by the combination of pktinfo data and
764 action = seg6_local_flv8986_act_lookup(pinfo, flvmask);
765 switch (action) {
780 * suitable action.
1464 .action = SEG6_LOCAL_ACTION_END,
1471 .action = SEG6_LOCAL_ACTION_END_X,
1478 .action = SEG6_LOCAL_ACTION_END_T,
1484 .action = SEG6_LOCAL_ACTION_END_DX2,
1490 .action = SEG6_LOCAL_ACTION_END_DX6,
1496 .action = SEG6_LOCAL_ACTION_END_DX4,
1502 .action = SEG6_LOCAL_ACTION_END_DT4,
1513 .action = SEG6_LOCAL_ACTION_END_DT6,
1529 .action = SEG6_LOCAL_ACTION_END_DT46,
1540 .action = SEG6_LOCAL_ACTION_END_B6,
1546 .action = SEG6_LOCAL_ACTION_END_B6_ENCAP,
1553 .action = SEG6_LOCAL_ACTION_END_BPF,
1561 static struct seg6_action_desc *__get_action_desc(int action)
1569 if (desc->action == action)
2134 int action = slwt->action;
2151 rc = seg6_flv_supp_ops_by_action(action, &supp_fops);
2434 desc = __get_action_desc(slwt->action);
2520 slwt->action = nla_get_u32(tb[SEG6_LOCAL_ACTION]);
2564 if (nla_put_u32(skb, SEG6_LOCAL_ACTION, slwt->action))
2587 nlsize = nla_total_size(4); /* action */
2643 if (slwt_a->action != slwt_b->action)
2701 * with the data type chosen for the action table.