/net/sched/ |
D | sch_api.c | 1130 static int qdisc_block_indexes_set(struct Qdisc *sch, struct nlattr **tca, in qdisc_block_indexes_set() argument 1135 if (tca[TCA_INGRESS_BLOCK]) { in qdisc_block_indexes_set() 1136 block_index = nla_get_u32(tca[TCA_INGRESS_BLOCK]); in qdisc_block_indexes_set() 1148 if (tca[TCA_EGRESS_BLOCK]) { in qdisc_block_indexes_set() 1149 block_index = nla_get_u32(tca[TCA_EGRESS_BLOCK]); in qdisc_block_indexes_set() 1173 struct nlattr **tca, int *errp, in qdisc_create() argument 1177 struct nlattr *kind = tca[TCA_KIND]; in qdisc_create() 1259 err = qdisc_block_indexes_set(sch, tca, extack); in qdisc_create() 1264 err = ops->init(sch, tca[TCA_OPTIONS], extack); in qdisc_create() 1269 if (tca[TCA_STAB]) { in qdisc_create() [all …]
|
D | cls_api.c | 1950 struct nlattr *tca[TCA_MAX + 1]; in tc_new_tfilter() local 1975 err = nlmsg_parse_deprecated(n, sizeof(*t), tca, TCA_MAX, in tc_new_tfilter() 2010 if (tcf_proto_check_kind(tca[TCA_KIND], name)) { in tc_new_tfilter() 2039 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0; in tc_new_tfilter() 2071 if (tca[TCA_KIND] == NULL || !protocol) { in tc_new_tfilter() 2106 if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], tp->ops->kind)) { in tc_new_tfilter() 2134 err = tp->ops->change(net, skb, tp, cl, t->tcm_handle, tca, &fh, in tc_new_tfilter() 2180 struct nlattr *tca[TCA_MAX + 1]; in tc_del_tfilter() local 2200 err = nlmsg_parse_deprecated(n, sizeof(*t), tca, TCA_MAX, in tc_del_tfilter() 2210 if (prio == 0 && (protocol || t->tcm_handle || tca[TCA_KIND])) { in tc_del_tfilter() [all …]
|
D | cls_cgroup.c | 78 u32 handle, struct nlattr **tca, in cls_cgroup_change() argument 87 if (!tca[TCA_OPTIONS]) in cls_cgroup_change() 106 tca[TCA_OPTIONS], cgroup_policy, in cls_cgroup_change() 111 err = tcf_exts_validate(net, tp, tb, tca[TCA_RATE], &new->exts, ovr, in cls_cgroup_change()
|
D | cls_fw.c | 201 struct nlattr **tca, unsigned long base, bool ovr, in fw_set_parms() argument 208 err = tcf_exts_validate(net, tp, tb, tca[TCA_RATE], &f->exts, ovr, in fw_set_parms() 239 u32 handle, struct nlattr **tca, void **arg, in fw_change() argument 245 struct nlattr *opt = tca[TCA_OPTIONS]; in fw_change() 279 err = fw_set_parms(net, tp, fnew, tb, tca, base, ovr, extack); in fw_change() 328 err = fw_set_parms(net, tp, f, tb, tca, base, ovr, extack); in fw_change()
|
D | sch_drr.c | 55 struct nlattr **tca, unsigned long *arg, in drr_change_class() argument 60 struct nlattr *opt = tca[TCA_OPTIONS]; in drr_change_class() 85 if (tca[TCA_RATE]) { in drr_change_class() 90 tca[TCA_RATE]); in drr_change_class() 119 if (tca[TCA_RATE]) { in drr_change_class() 123 tca[TCA_RATE]); in drr_change_class()
|
D | cls_basic.c | 172 struct nlattr **tca, void **arg, bool ovr, in basic_change() argument 181 if (tca[TCA_OPTIONS] == NULL) in basic_change() 184 err = nla_parse_nested_deprecated(tb, TCA_BASIC_MAX, tca[TCA_OPTIONS], in basic_change() 219 err = basic_set_parms(net, tp, fnew, base, tb, tca[TCA_RATE], ovr, in basic_change()
|
D | cls_matchall.c | 185 u32 handle, struct nlattr **tca, in mall_change() argument 195 if (!tca[TCA_OPTIONS]) in mall_change() 202 tca[TCA_OPTIONS], mall_policy, NULL); in mall_change() 230 err = mall_set_parms(net, tp, new, base, tb, tca[TCA_RATE], ovr, in mall_change()
|
D | sch_qfq.c | 404 struct nlattr **tca, unsigned long *arg, in qfq_change_class() argument 416 if (tca[TCA_OPTIONS] == NULL) { in qfq_change_class() 421 err = nla_parse_nested_deprecated(tb, TCA_QFQ_MAX, tca[TCA_OPTIONS], in qfq_change_class() 460 if (tca[TCA_RATE]) { in qfq_change_class() 465 tca[TCA_RATE]); in qfq_change_class() 486 if (tca[TCA_RATE]) { in qfq_change_class() 491 tca[TCA_RATE]); in qfq_change_class()
|
D | cls_bpf.c | 460 u32 handle, struct nlattr **tca, in cls_bpf_change() argument 470 if (tca[TCA_OPTIONS] == NULL) in cls_bpf_change() 473 ret = nla_parse_nested_deprecated(tb, TCA_BPF_MAX, tca[TCA_OPTIONS], in cls_bpf_change() 506 ret = cls_bpf_set_parms(net, tp, prog, base, tb, tca[TCA_RATE], ovr, in cls_bpf_change()
|
D | cls_route.c | 472 struct nlattr **tca, void **arg, bool ovr, in route4_change() argument 479 struct nlattr *opt = tca[TCA_OPTIONS]; in route4_change() 522 tca[TCA_RATE], new, ovr, extack); in route4_change()
|
D | sch_hfsc.c | 922 struct nlattr **tca, unsigned long *arg, in hfsc_change_class() argument 928 struct nlattr *opt = tca[TCA_OPTIONS]; in hfsc_change_class() 972 if (tca[TCA_RATE]) { in hfsc_change_class() 977 tca[TCA_RATE]); in hfsc_change_class() 1046 if (tca[TCA_RATE]) { in hfsc_change_class() 1050 tca[TCA_RATE]); in hfsc_change_class()
|
D | sch_htb.c | 1298 u32 parentid, struct nlattr **tca, in htb_change_class() argument 1304 struct nlattr *opt = tca[TCA_OPTIONS]; in htb_change_class() 1377 if (htb_rate_est || tca[TCA_RATE]) { in htb_change_class() 1382 tca[TCA_RATE] ? : &est.nla); in htb_change_class() 1439 if (tca[TCA_RATE]) { in htb_change_class() 1444 tca[TCA_RATE]); in htb_change_class()
|
D | cls_flow.c | 389 u32 handle, struct nlattr **tca, in flow_change() argument 395 struct nlattr *opt = tca[TCA_OPTIONS]; in flow_change() 445 err = tcf_exts_validate(net, tp, tb, tca[TCA_RATE], &fnew->exts, ovr, in flow_change()
|
D | act_api.c | 1538 struct nlattr *tca[TCA_ROOT_MAX + 1]; in tc_ctl_action() local 1546 ret = nlmsg_parse_deprecated(n, sizeof(struct tcamsg), tca, in tc_ctl_action() 1551 if (tca[TCA_ACT_TAB] == NULL) { in tc_ctl_action() 1567 ret = tcf_action_add(net, tca[TCA_ACT_TAB], n, portid, ovr, in tc_ctl_action() 1571 ret = tca_action_gd(net, tca[TCA_ACT_TAB], n, in tc_ctl_action() 1575 ret = tca_action_gd(net, tca[TCA_ACT_TAB], n, in tc_ctl_action()
|
D | cls_u32.c | 848 struct nlattr **tca, void **arg, bool ovr, bool rtnl_held, in u32_change() argument 855 struct nlattr *opt = tca[TCA_OPTIONS]; in u32_change() 903 tca[TCA_RATE], ovr, extack); in u32_change() 1112 err = u32_set_parms(net, tp, base, n, tb, tca[TCA_RATE], ovr, in u32_change()
|
D | sch_ets.c | 198 struct nlattr **tca, unsigned long *arg, in ets_class_change() argument 203 struct nlattr *opt = tca[TCA_OPTIONS]; in ets_class_change()
|
D | cls_flower.c | 1979 u32 handle, struct nlattr **tca, in fl_change() argument 1991 if (!tca[TCA_OPTIONS]) { in fl_change() 2009 tca[TCA_OPTIONS], fl_policy, NULL); in fl_change() 2039 err = fl_set_parms(net, tp, fnew, mask, base, tb, tca[TCA_RATE], ovr, in fl_change() 2365 struct nlattr **tca, in fl_tmplt_create() argument 2372 if (!tca[TCA_OPTIONS]) in fl_tmplt_create() 2379 tca[TCA_OPTIONS], fl_policy, NULL); in fl_tmplt_create()
|
D | sch_sfb.c | 648 struct nlattr **tca, unsigned long *arg, in sfb_change_class() argument
|