Home
last modified time | relevance | path

Searched refs:act (Results 1 – 25 of 31) sorted by relevance

12

/net/sched/
Dact_bpf.c34 static int tcf_bpf_act(struct sk_buff *skb, const struct tc_action *act, in tcf_bpf_act() argument
38 struct tcf_bpf *prog = to_bpf(act); in tcf_bpf_act()
134 static int tcf_bpf_dump(struct sk_buff *skb, struct tc_action *act, in tcf_bpf_dump() argument
138 struct tcf_bpf *prog = to_bpf(act); in tcf_bpf_dump()
276 struct nlattr *est, struct tc_action **act, in tcf_bpf_init() argument
303 ret = tcf_idr_check_alloc(tn, &index, act, bind); in tcf_bpf_init()
305 ret = tcf_idr_create(tn, index, est, act, in tcf_bpf_init()
319 tcf_idr_release(*act, bind); in tcf_bpf_init()
345 prog = to_bpf(*act); in tcf_bpf_init()
357 goto_ch = tcf_action_set_ctrlact(*act, parm->action, goto_ch); in tcf_bpf_init()
[all …]
Dcls_api.c3021 struct tc_action *act; in tcf_exts_validate() local
3025 act = tcf_action_init_1(net, tp, tb[exts->police], in tcf_exts_validate()
3029 if (IS_ERR(act)) in tcf_exts_validate()
3030 return PTR_ERR(act); in tcf_exts_validate()
3032 act->type = exts->type = TCA_OLD_COMPAT; in tcf_exts_validate()
3033 exts->actions[0] = act; in tcf_exts_validate()
3101 struct tc_action *act = tcf_exts_first_act(exts); in tcf_exts_dump() local
3103 if (nest == NULL || !act) in tcf_exts_dump()
3105 if (tcf_action_dump_old(skb, act, 0, 0) < 0) in tcf_exts_dump()
3404 const struct tc_action *act) in tcf_mirred_get_dev() argument
[all …]
Dact_api.c173 static size_t tcf_action_shared_attrs_size(const struct tc_action *act) in tcf_action_shared_attrs_size() argument
179 act_cookie = rcu_dereference(act->act_cookie); in tcf_action_shared_attrs_size()
205 static size_t tcf_action_fill_size(const struct tc_action *act) in tcf_action_fill_size() argument
207 size_t sz = tcf_action_shared_attrs_size(act); in tcf_action_fill_size()
209 if (act->ops->get_fill_size) in tcf_action_fill_size()
210 return act->ops->get_fill_size(act) + sz; in tcf_action_fill_size()
554 int tcf_register_action(struct tc_action_ops *act, in tcf_register_action() argument
560 if (!act->act || !act->dump || !act->init || !act->walk || !act->lookup) in tcf_register_action()
573 if (act->id == a->id || (strcmp(act->kind, a->kind) == 0)) { in tcf_register_action()
579 list_add_tail(&act->head, &act_base); in tcf_register_action()
[all …]
Dact_gact.c248 static size_t tcf_gact_get_fill_size(const struct tc_action *act) in tcf_gact_get_fill_size() argument
253 if (to_gact(act)->tcfg_ptype) in tcf_gact_get_fill_size()
265 .act = tcf_gact_act,
Dact_vlan.c325 static size_t tcf_vlan_get_fill_size(const struct tc_action *act) in tcf_vlan_get_fill_size() argument
337 .act = tcf_vlan_act,
Dact_skbedit.c308 static size_t tcf_skbedit_get_fill_size(const struct tc_action *act) in tcf_skbedit_get_fill_size() argument
323 .act = tcf_skbedit_act,
Dact_mirred.c442 static size_t tcf_mirred_get_fill_size(const struct tc_action *act) in tcf_mirred_get_fill_size() argument
451 .act = tcf_mirred_act,
Dact_ipt.c339 .act = tcf_ipt_act,
388 .act = tcf_ipt_act,
Dact_connmark.c224 .act = tcf_connmark_act,
Dact_csum.c691 static size_t tcf_csum_get_fill_size(const struct tc_action *act) in tcf_csum_get_fill_size() argument
700 .act = tcf_csum_act,
Dact_simple.c220 .act = tcf_simp_act,
Dact_skbmod.c279 .act = tcf_skbmod_act,
Dact_sample.c289 .act = tcf_sample_act,
Dact_nat.c315 .act = tcf_nat_act,
Dact_ctinfo.c377 .act = tcf_ctinfo_act,
Dact_mpls.c379 .act = tcf_mpls_act,
Dact_police.c392 .act = tcf_police_act,
Dact_pedit.c507 .act = tcf_pedit_act,
/net/ax25/
DKconfig59 If you say Y here, your Linux box will act as a DAMA slave; this is
61 configuration. Linux cannot yet act as a DAMA server. This option
74 If you say Y here, your Linux box will act as a DAMA master; this is
76 configuration. Linux cannot yet act as a DAMA server. This option
/net/atm/
DKconfig47 LANE client can also act as an proxy client bridging packets between
64 This device will act like an ethernet from the kernels point of view,
/net/hsr/
DKconfig9 If you say Y here, then your Linux box will be able to act as a
/net/dsa/
Dslave.c872 struct flow_action_entry *act; in dsa_slave_add_cls_matchall() local
882 act = &cls->rule->action.entries[0]; in dsa_slave_add_cls_matchall()
884 if (act->id == FLOW_ACTION_MIRRED && protocol == htons(ETH_P_ALL)) { in dsa_slave_add_cls_matchall()
887 if (!act->dev) in dsa_slave_add_cls_matchall()
890 if (!dsa_slave_dev_check(act->dev)) in dsa_slave_add_cls_matchall()
901 to_dp = dsa_slave_to_port(act->dev); in dsa_slave_add_cls_matchall()
/net/netfilter/
Dnf_conntrack_h323_asn1.c24 #define IFTHEN(cond, act) if(cond){act;} argument
32 #define IFTHEN(cond, act) argument
/net/bridge/
DKconfig12 If you say Y here, then your Linux box will be able to act as an
/net/core/
Dethtool.c2874 struct flow_action_entry *act; in ethtool_rx_flow_rule_create() local
3091 act = &flow->rule->action.entries[0]; in ethtool_rx_flow_rule_create()
3094 act->id = FLOW_ACTION_DROP; in ethtool_rx_flow_rule_create()
3097 act->id = FLOW_ACTION_WAKE; in ethtool_rx_flow_rule_create()
3100 act->id = FLOW_ACTION_QUEUE; in ethtool_rx_flow_rule_create()
3102 act->queue.ctx = input->rss_ctx; in ethtool_rx_flow_rule_create()
3104 act->queue.vf = ethtool_get_flow_spec_ring_vf(fs->ring_cookie); in ethtool_rx_flow_rule_create()
3105 act->queue.index = ethtool_get_flow_spec_ring(fs->ring_cookie); in ethtool_rx_flow_rule_create()

12