/net/sched/ |
D | act_bpf.c | 34 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 …]
|
D | cls_api.c | 3021 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 …]
|
D | act_api.c | 173 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 …]
|
D | act_gact.c | 248 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,
|
D | act_vlan.c | 325 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,
|
D | act_skbedit.c | 308 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,
|
D | act_mirred.c | 442 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,
|
D | act_ipt.c | 339 .act = tcf_ipt_act, 388 .act = tcf_ipt_act,
|
D | act_connmark.c | 224 .act = tcf_connmark_act,
|
D | act_csum.c | 691 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,
|
D | act_simple.c | 220 .act = tcf_simp_act,
|
D | act_skbmod.c | 279 .act = tcf_skbmod_act,
|
D | act_sample.c | 289 .act = tcf_sample_act,
|
D | act_nat.c | 315 .act = tcf_nat_act,
|
D | act_ctinfo.c | 377 .act = tcf_ctinfo_act,
|
D | act_mpls.c | 379 .act = tcf_mpls_act,
|
D | act_police.c | 392 .act = tcf_police_act,
|
D | act_pedit.c | 507 .act = tcf_pedit_act,
|
/net/ax25/ |
D | Kconfig | 59 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/ |
D | Kconfig | 47 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/ |
D | Kconfig | 9 If you say Y here, then your Linux box will be able to act as a
|
/net/dsa/ |
D | slave.c | 872 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/ |
D | nf_conntrack_h323_asn1.c | 24 #define IFTHEN(cond, act) if(cond){act;} argument 32 #define IFTHEN(cond, act) argument
|
/net/bridge/ |
D | Kconfig | 12 If you say Y here, then your Linux box will be able to act as an
|
/net/core/ |
D | ethtool.c | 2874 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()
|