Home
last modified time | relevance | path

Searched refs:tca (Results 1 – 18 of 18) sorted by relevance

/net/sched/
A Dsch_api.c1309 if (tca[TCA_STAB]) { in qdisc_create()
1324 if (tca[TCA_RATE]) { in qdisc_create()
1336 tca[TCA_RATE]); in qdisc_create()
1372 if (tca[TCA_OPTIONS]) { in qdisc_change()
1377 if (tca[TCA_INGRESS_BLOCK] || tca[TCA_EGRESS_BLOCK]) { in qdisc_change()
1386 if (tca[TCA_STAB]) { in qdisc_change()
1396 if (tca[TCA_RATE]) { in qdisc_change()
1514 if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], q->ops->id)) { in __tc_get_qdisc()
1637 if (tca[TCA_KIND] && in __tc_modify_qdisc()
1714 if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], q->ops->id)) { in __tc_modify_qdisc()
[all …]
A Dcls_cgroup.c80 u32 handle, struct nlattr **tca, in cls_cgroup_change() argument
89 if (!tca[TCA_OPTIONS]) in cls_cgroup_change()
108 tca[TCA_OPTIONS], cgroup_policy, in cls_cgroup_change()
113 err = tcf_exts_validate(net, tp, tb, tca[TCA_RATE], &new->exts, flags, in cls_cgroup_change()
A Dcls_api.c2235 struct nlattr *tca[TCA_MAX + 1]; in tc_new_tfilter() local
2389 if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], tp->ops->kind)) { in tc_new_tfilter()
2469 struct nlattr *tca[TCA_MAX + 1]; in tc_del_tfilter() local
2572 } else if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], tp->ops->kind)) { in tc_del_tfilter()
2628 struct nlattr *tca[TCA_MAX + 1]; in tc_get_tfilter() local
2716 } else if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], tp->ops->kind)) { in tc_get_tfilter()
2859 if (tca[TCA_DUMP_FLAGS]) { in tc_dump_tfilter()
2919 if (tca[TCA_CHAIN] && in tc_dump_tfilter()
3056 struct nlattr **tca, in tc_chain_tmplt_add() argument
3064 if (!tca[TCA_KIND]) in tc_chain_tmplt_add()
[all …]
A Dcls_fw.c203 struct nlattr **tca, unsigned long base, u32 flags, in fw_set_parms() argument
210 err = tcf_exts_validate(net, tp, tb, tca[TCA_RATE], &f->exts, flags, in fw_set_parms()
241 u32 handle, struct nlattr **tca, void **arg, in fw_change() argument
246 struct nlattr *opt = tca[TCA_OPTIONS]; in fw_change()
280 err = fw_set_parms(net, tp, fnew, tb, tca, base, flags, extack); in fw_change()
329 err = fw_set_parms(net, tp, f, tb, tca, base, flags, extack); in fw_change()
A Dsch_drr.c59 struct nlattr **tca, unsigned long *arg, in drr_change_class() argument
64 struct nlattr *opt = tca[TCA_OPTIONS]; in drr_change_class()
89 if (tca[TCA_RATE]) { in drr_change_class()
93 tca[TCA_RATE]); in drr_change_class()
124 if (tca[TCA_RATE]) { in drr_change_class()
126 NULL, true, tca[TCA_RATE]); in drr_change_class()
A Dcls_basic.c174 struct nlattr **tca, void **arg, in basic_change() argument
183 if (tca[TCA_OPTIONS] == NULL) in basic_change()
186 err = nla_parse_nested_deprecated(tb, TCA_BASIC_MAX, tca[TCA_OPTIONS], in basic_change()
221 err = basic_set_parms(net, tp, fnew, base, tb, tca[TCA_RATE], flags, in basic_change()
A Dcls_matchall.c164 u32 handle, struct nlattr **tca, in mall_change() argument
175 if (!tca[TCA_OPTIONS]) in mall_change()
182 tca[TCA_OPTIONS], mall_policy, NULL); in mall_change()
210 err = tcf_exts_validate_ex(net, tp, tb, tca[TCA_RATE], in mall_change()
A Dcls_route.c478 struct nlattr **tca, void **arg, u32 flags, in route4_change() argument
495 if (NL_REQ_ATTR_CHECK(extack, NULL, tca, TCA_OPTIONS)) { in route4_change()
500 err = nla_parse_nested_deprecated(tb, TCA_ROUTE4_MAX, tca[TCA_OPTIONS], in route4_change()
529 tca[TCA_RATE], new, flags, extack); in route4_change()
A Dcls_bpf.c411 u32 handle, struct nlattr **tca, in cls_bpf_change() argument
424 if (tca[TCA_OPTIONS] == NULL) in cls_bpf_change()
427 ret = nla_parse_nested_deprecated(tb, TCA_BPF_MAX, tca[TCA_OPTIONS], in cls_bpf_change()
467 ret = tcf_exts_validate(net, tp, tb, tca[TCA_RATE], &prog->exts, in cls_bpf_change()
A Dsch_qfq.c407 struct nlattr **tca, unsigned long *arg, in qfq_change_class() argument
419 if (NL_REQ_ATTR_CHECK(extack, NULL, tca, TCA_OPTIONS)) { in qfq_change_class()
424 err = nla_parse_nested_deprecated(tb, TCA_QFQ_MAX, tca[TCA_OPTIONS], in qfq_change_class()
465 if (tca[TCA_RATE]) { in qfq_change_class()
470 tca[TCA_RATE]); in qfq_change_class()
493 if (tca[TCA_RATE]) { in qfq_change_class()
498 tca[TCA_RATE]); in qfq_change_class()
A Dsch_hfsc.c913 struct nlattr **tca, unsigned long *arg, in hfsc_change_class() argument
919 struct nlattr *opt = tca[TCA_OPTIONS]; in hfsc_change_class()
964 if (tca[TCA_RATE]) { in hfsc_change_class()
969 tca[TCA_RATE]); in hfsc_change_class()
1040 if (tca[TCA_RATE]) { in hfsc_change_class()
1042 NULL, true, tca[TCA_RATE]); in hfsc_change_class()
A Dcls_flow.c392 u32 handle, struct nlattr **tca, in flow_change() argument
398 struct nlattr *opt = tca[TCA_OPTIONS]; in flow_change()
448 err = tcf_exts_validate(net, tp, tb, tca[TCA_RATE], &fnew->exts, flags, in flow_change()
A Dsch_htb.c1760 u32 parentid, struct nlattr **tca, in htb_change_class() argument
1767 struct nlattr *opt = tca[TCA_OPTIONS]; in htb_change_class()
1860 if (htb_rate_est || tca[TCA_RATE]) { in htb_change_class()
1865 tca[TCA_RATE] ? : &est.nla); in htb_change_class()
1985 if (tca[TCA_RATE]) { in htb_change_class()
1990 tca[TCA_RATE]); in htb_change_class()
A Dact_api.c2127 struct nlattr *tca[TCA_ROOT_MAX + 1]; in tc_ctl_action() local
2136 ret = nlmsg_parse_deprecated(n, sizeof(struct tcamsg), tca, in tc_ctl_action()
2141 if (tca[TCA_ACT_TAB] == NULL) { in tc_ctl_action()
2157 ret = tcf_action_add(net, tca[TCA_ACT_TAB], n, portid, flags, in tc_ctl_action()
2161 ret = tca_action_gd(net, tca[TCA_ACT_TAB], n, in tc_ctl_action()
2165 ret = tca_action_gd(net, tca[TCA_ACT_TAB], n, in tc_ctl_action()
A Dcls_u32.c872 struct nlattr **tca, void **arg, u32 flags, in u32_change() argument
879 struct nlattr *opt = tca[TCA_OPTIONS]; in u32_change()
926 err = u32_set_parms(net, tp, new, tb, tca[TCA_RATE], in u32_change()
1153 err = u32_set_parms(net, tp, n, tb, tca[TCA_RATE], in u32_change()
A Dsch_ets.c205 struct nlattr **tca, unsigned long *arg, in ets_class_change() argument
210 struct nlattr *opt = tca[TCA_OPTIONS]; in ets_class_change()
A Dcls_flower.c2359 u32 handle, struct nlattr **tca, in fl_change() argument
2365 struct nlattr *tca_opts = tca[TCA_OPTIONS]; in fl_change()
2452 err = tcf_exts_validate_ex(net, tp, tb, tca[TCA_RATE], in fl_change()
2807 struct nlattr **tca, in fl_tmplt_create() argument
2810 struct nlattr *tca_opts = tca[TCA_OPTIONS]; in fl_tmplt_create()
A Dsch_sfb.c650 struct nlattr **tca, unsigned long *arg, in sfb_change_class() argument

Completed in 68 milliseconds