/net/sched/ |
D | cls_api.c | 3046 struct tc_action *act; in tcf_exts_validate() local 3058 act = tcf_action_init_1(net, tp, tb[exts->police], in tcf_exts_validate() 3062 if (IS_ERR(act)) in tcf_exts_validate() 3063 return PTR_ERR(act); in tcf_exts_validate() 3065 act->type = exts->type = TCA_OLD_COMPAT; in tcf_exts_validate() 3066 exts->actions[0] = act; in tcf_exts_validate() 3135 struct tc_action *act = tcf_exts_first_act(exts); in tcf_exts_dump() local 3137 if (nest == NULL || !act) in tcf_exts_dump() 3139 if (tcf_action_dump_old(skb, act, 0, 0) < 0) in tcf_exts_dump() 3452 const struct tc_action *act) in tcf_act_get_cookie() argument [all …]
|
D | act_bpf.c | 35 static int tcf_bpf_act(struct sk_buff *skb, const struct tc_action *act, in tcf_bpf_act() argument 39 struct tcf_bpf *prog = to_bpf(act); in tcf_bpf_act() 135 static int tcf_bpf_dump(struct sk_buff *skb, struct tc_action *act, in tcf_bpf_dump() argument 139 struct tcf_bpf *prog = to_bpf(act); in tcf_bpf_dump() 277 struct nlattr *est, struct tc_action **act, in tcf_bpf_init() argument 305 ret = tcf_idr_check_alloc(tn, &index, act, bind); in tcf_bpf_init() 307 ret = tcf_idr_create(tn, index, est, act, in tcf_bpf_init() 321 tcf_idr_release(*act, bind); in tcf_bpf_init() 347 prog = to_bpf(*act); in tcf_bpf_init() 359 goto_ch = tcf_action_set_ctrlact(*act, parm->action, goto_ch); in tcf_bpf_init() [all …]
|
D | act_api.c | 200 static size_t tcf_action_shared_attrs_size(const struct tc_action *act) in tcf_action_shared_attrs_size() argument 206 act_cookie = rcu_dereference(act->act_cookie); in tcf_action_shared_attrs_size() 236 static size_t tcf_action_fill_size(const struct tc_action *act) in tcf_action_fill_size() argument 238 size_t sz = tcf_action_shared_attrs_size(act); in tcf_action_fill_size() 240 if (act->ops->get_fill_size) in tcf_action_fill_size() 241 return act->ops->get_fill_size(act) + sz; in tcf_action_fill_size() 630 int tcf_register_action(struct tc_action_ops *act, in tcf_register_action() argument 636 if (!act->act || !act->dump || !act->init || !act->walk || !act->lookup) in tcf_register_action() 649 if (act->id == a->id || (strcmp(act->kind, a->kind) == 0)) { in tcf_register_action() 655 list_add_tail(&act->head, &act_base); in tcf_register_action() [all …]
|
D | act_gact.c | 242 static size_t tcf_gact_get_fill_size(const struct tc_action *act) in tcf_gact_get_fill_size() argument 247 if (to_gact(act)->tcfg_ptype) in tcf_gact_get_fill_size() 259 .act = tcf_gact_act,
|
D | act_skbedit.c | 319 static size_t tcf_skbedit_get_fill_size(const struct tc_action *act) in tcf_skbedit_get_fill_size() argument 334 .act = tcf_skbedit_act,
|
D | act_vlan.c | 363 static size_t tcf_vlan_get_fill_size(const struct tc_action *act) in tcf_vlan_get_fill_size() argument 375 .act = tcf_vlan_act,
|
D | act_mirred.c | 453 static size_t tcf_mirred_get_fill_size(const struct tc_action *act) in tcf_mirred_get_fill_size() argument 462 .act = tcf_mirred_act,
|
D | act_ipt.c | 353 .act = tcf_ipt_act, 402 .act = tcf_ipt_act,
|
D | act_gate.c | 595 static size_t tcf_gate_get_fill_size(const struct tc_action *act) in tcf_gate_get_fill_size() argument 604 .act = tcf_gate_act,
|
D | act_csum.c | 693 static size_t tcf_csum_get_fill_size(const struct tc_action *act) in tcf_csum_get_fill_size() argument 702 .act = tcf_csum_act,
|
D | act_connmark.c | 224 .act = tcf_connmark_act,
|
D | act_simple.c | 221 .act = tcf_simp_act,
|
D | act_sample.c | 296 .act = tcf_sample_act,
|
D | act_nat.c | 313 .act = tcf_nat_act,
|
D | act_skbmod.c | 300 .act = tcf_skbmod_act,
|
D | act_ctinfo.c | 376 .act = tcf_ctinfo_act,
|
D | act_mpls.c | 405 .act = tcf_mpls_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/dsa/ |
D | slave.c | 986 struct flow_action_entry *act; in dsa_slave_add_cls_matchall_mirred() local 997 act = &cls->rule->action.entries[0]; in dsa_slave_add_cls_matchall_mirred() 999 if (!act->dev) in dsa_slave_add_cls_matchall_mirred() 1002 if (!dsa_slave_dev_check(act->dev)) in dsa_slave_add_cls_matchall_mirred() 1013 to_dp = dsa_slave_to_port(act->dev); in dsa_slave_add_cls_matchall_mirred() 1040 struct flow_action_entry *act; in dsa_slave_add_cls_matchall_police() local 1067 act = &cls->rule->action.entries[0]; in dsa_slave_add_cls_matchall_police() 1076 policer->rate_bytes_per_sec = act->police.rate_bytes_ps; in dsa_slave_add_cls_matchall_police() 1077 policer->burst = act->police.burst; in dsa_slave_add_cls_matchall_police()
|
/net/netfilter/ |
D | nf_conntrack_h323_asn1.c | 24 #define IFTHEN(cond, act) if(cond){act;} argument 32 #define IFTHEN(cond, act) argument
|
/net/hsr/ |
D | Kconfig | 12 If you say Y here, then your Linux box will be able to act as a
|
/net/bridge/ |
D | Kconfig | 12 If you say Y here, then your Linux box will be able to act as an
|
/net/ethtool/ |
D | ioctl.c | 3025 struct flow_action_entry *act; in ethtool_rx_flow_rule_create() local 3243 act = &flow->rule->action.entries[0]; in ethtool_rx_flow_rule_create() 3246 act->id = FLOW_ACTION_DROP; in ethtool_rx_flow_rule_create() 3249 act->id = FLOW_ACTION_WAKE; in ethtool_rx_flow_rule_create() 3252 act->id = FLOW_ACTION_QUEUE; in ethtool_rx_flow_rule_create() 3254 act->queue.ctx = input->rss_ctx; in ethtool_rx_flow_rule_create() 3256 act->queue.vf = ethtool_get_flow_spec_ring_vf(fs->ring_cookie); in ethtool_rx_flow_rule_create() 3257 act->queue.index = ethtool_get_flow_spec_ring(fs->ring_cookie); in ethtool_rx_flow_rule_create()
|
/net/core/ |
D | dev.c | 4740 u32 metalen, act; in bpf_prog_run_generic_xdp() local 4765 act = bpf_prog_run_xdp(xdp_prog, xdp); in bpf_prog_run_generic_xdp() 4804 switch (act) { in bpf_prog_run_generic_xdp() 4816 return act; in bpf_prog_run_generic_xdp() 4823 u32 act = XDP_DROP; in netif_receive_generic_xdp() local 4851 act = bpf_prog_run_generic_xdp(skb, xdp, xdp_prog); in netif_receive_generic_xdp() 4852 switch (act) { in netif_receive_generic_xdp() 4858 bpf_warn_invalid_xdp_action(act); in netif_receive_generic_xdp() 4861 trace_xdp_exception(skb->dev, xdp_prog, act); in netif_receive_generic_xdp() 4869 return act; in netif_receive_generic_xdp() [all …]
|