Lines Matching defs:actions
93 const struct nlattr *actions,
102 da->actions = actions;
123 const struct nlattr *actions, int len,
864 const struct nlattr *actions, int actions_len,
910 /* Include actions. */
911 upcall.actions = actions;
927 struct nlattr *actions = nla_data(attr);
929 if (nla_len(actions))
930 return clone_execute(dp, skb, key, 0, nla_data(actions),
931 nla_len(actions), true, false);
939 * actions are executed within sample().
945 struct nlattr *actions;
956 actions = nla_next(sample_arg, &rem);
969 err = clone_execute(dp, skb, key, 0, actions, rem, last,
980 * actions are executed within clone().
986 struct nlattr *actions;
994 actions = nla_next(clone_arg, &rem);
996 return clone_execute(dp, skb, key, 0, actions, rem, last,
1139 const struct nlattr *actions, *cpl_arg;
1158 actions = nla_next(cpl_arg, &rem);
1164 actions = nla_next(cpl_arg, &rem);
1165 actions = nla_next(actions, &rem);
1169 return clone_execute(dp, skb, key, 0, nla_data(actions),
1170 nla_len(actions), last, clone_flow_key);
1250 /* Execute a list of actions against 'skb'. */
1474 /* Execute the actions on the clone of the packet. The effect of the
1477 * The execution may be deferred in case the actions can not be executed
1482 const struct nlattr *actions, int len,
1496 * by the actions, then the 'key' can be used directly.
1498 * 'flow_keys'. If clone is successful, execute the actions
1504 if (actions) { /* Sample action */
1509 actions, len);
1520 /* Out of 'flow_keys' space. Defer actions */
1521 da = add_deferred_actions(skb, key, actions, len);
1523 if (!actions) { /* Recirc action */
1534 if (actions) { /* Sample action */
1550 /* Do not touch the FIFO in case there is no deferred actions. */
1554 /* Finishing executing all deferred actions. */
1559 const struct nlattr *actions = da->actions;
1562 if (actions)
1563 do_execute_actions(dp, skb, key, actions, actions_len);
1572 /* Execute a list of actions against 'skb'. */
1590 acts->actions, acts->actions_len);