Home
last modified time | relevance | path

Searched refs:actions (Results 1 – 11 of 11) sorted by relevance

/net/sched/
Dact_api.c647 int tcf_action_exec(struct sk_buff *skb, struct tc_action **actions, in tcf_action_exec() argument
660 const struct tc_action *a = actions[i]; in tcf_action_exec()
699 int tcf_action_destroy(struct tc_action *actions[], int bind) in tcf_action_destroy() argument
705 for (i = 0; i < TCA_ACT_MAX_PRIO && actions[i]; i++) { in tcf_action_destroy()
706 a = actions[i]; in tcf_action_destroy()
707 actions[i] = NULL; in tcf_action_destroy()
720 struct tc_action *actions[] = { a, NULL }; in tcf_action_destroy_1() local
722 return tcf_action_destroy(actions, bind); in tcf_action_destroy_1()
731 static void tcf_action_put_many(struct tc_action *actions[]) in tcf_action_put_many() argument
736 struct tc_action *a = actions[i]; in tcf_action_put_many()
[all …]
DKconfig377 which can also have actions attached to them. In case of outgoing packets,
467 only extended matches and actions.
723 Say Y here if you want to use traffic control actions. Actions
743 tristate "Generic actions"
746 Say Y here to take generic actions such as dropping and
897 Current actions transfer connmark stored DSCP into
Dcls_api.c3000 if (exts->actions) { in tcf_exts_destroy()
3001 tcf_action_destroy(exts->actions, TCA_ACT_UNBIND); in tcf_exts_destroy()
3002 kfree(exts->actions); in tcf_exts_destroy()
3027 exts->actions[0] = act; in tcf_exts_validate()
3034 exts->actions, &attr_size, in tcf_exts_validate()
3070 return exts->actions[0]; in tcf_exts_first_act()
3090 if (tcf_action_dump(skb, exts->actions, 0, 0) < 0) in tcf_exts_dump()
/net/openvswitch/
Dactions.c37 const struct nlattr *actions; member
125 const struct nlattr *actions, in add_deferred_actions() argument
135 da->actions = actions; in add_deferred_actions()
156 const struct nlattr *actions, int len,
912 const struct nlattr *actions, int actions_len, in output_userspace() argument
952 upcall.actions = actions; in output_userspace()
971 struct nlattr *actions; in sample() local
980 actions = nla_next(sample_arg, &rem); in sample()
990 return clone_execute(dp, skb, key, 0, actions, rem, last, in sample()
1002 struct nlattr *actions; in clone() local
[all …]
Dflow_netlink.c51 static bool actions_may_change_flow(const struct nlattr *actions) in actions_may_change_flow() argument
56 nla_for_each_nested(nla, actions, rem) { in actions_may_change_flow()
2290 nla_for_each_attr(a, sf_acts->actions, sf_acts->actions_len, rem) { in ovs_nla_free_flow_actions()
2323 int next_offset = offsetof(struct sw_flow_actions, actions) + in reserve_sfa_size()
2344 memcpy(acts->actions, (*sfa)->actions, (*sfa)->actions_len); in reserve_sfa_size()
2400 struct nlattr *a = (struct nlattr *) ((unsigned char *)sfa->actions + in add_nested_action_end()
2418 const struct nlattr *probability, *actions; in validate_and_copy_sample() local
2437 actions = attrs[OVS_SAMPLE_ATTR_ACTIONS]; in validate_and_copy_sample()
2438 if (!actions || (nla_len(actions) && nla_len(actions) < NLA_HDRLEN)) in validate_and_copy_sample()
2457 arg.exec = last || !actions_may_change_flow(actions); in validate_and_copy_sample()
[all …]
DMakefile9 actions.o \
Ddatapath.h119 const struct nlattr *actions; member
Dflow.h194 struct nlattr actions[]; member
Ddatapath.c477 err = ovs_nla_put_actions(upcall_info->actions, in queue_userspace_packet()
783 err = ovs_nla_put_actions(sf_acts->actions, in ovs_flow_cmd_fill_actions()
/net/netfilter/
DKconfig452 allows you to construct mappings between matchings and actions
464 matchings and actions.
/net/ipv4/
DKconfig86 however, it becomes possible to attach several actions to a packet