/linux-2.4.37.9/net/sched/ |
D | sch_api.c | 390 qdisc_create(struct net_device *dev, u32 handle, struct rtattr **tca, int *errp) in qdisc_create() argument 393 struct rtattr *kind = tca[TCA_KIND-1]; in qdisc_create() 400 if (ops==NULL && tca[TCA_KIND-1] != NULL) { in qdisc_create() 454 if (!ops->init || (err = ops->init(sch, tca[TCA_OPTIONS-1])) == 0) { in qdisc_create() 459 if (tca[TCA_RATE-1]) in qdisc_create() 460 qdisc_new_estimator(&sch->stats, tca[TCA_RATE-1]); in qdisc_create() 472 static int qdisc_change(struct Qdisc *sch, struct rtattr **tca) in qdisc_change() argument 474 if (tca[TCA_OPTIONS-1]) { in qdisc_change() 479 err = sch->ops->change(sch, tca[TCA_OPTIONS-1]); in qdisc_change() 484 if (tca[TCA_RATE-1]) { in qdisc_change() [all …]
|
D | cls_api.c | 120 struct rtattr **tca = arg; in tc_ctl_tfilter() local 188 if (tca[TCA_KIND-1] == NULL || !protocol) in tc_ctl_tfilter() 201 tp_ops = tcf_proto_lookup_ops(tca[TCA_KIND-1]); in tc_ctl_tfilter() 203 if (tp_ops==NULL && tca[TCA_KIND-1] != NULL) { in tc_ctl_tfilter() 204 struct rtattr *kind = tca[TCA_KIND-1]; in tc_ctl_tfilter() 237 } else if (tca[TCA_KIND-1] && rtattr_strcmp(tca[TCA_KIND-1], tp->ops->kind)) in tc_ctl_tfilter() 276 err = tp->ops->change(tp, cl, t->tcm_handle, tca, &fh); in tc_ctl_tfilter()
|
D | cls_fw.c | 183 struct rtattr **tca, in fw_change() argument 188 struct rtattr *opt = tca[TCA_OPTIONS-1]; in fw_change() 214 struct tcf_police *police = tcf_police_locate(tb[TCA_FW_POLICE-1], tca[TCA_RATE-1]); in fw_change() 257 f->police = tcf_police_locate(tb[TCA_FW_POLICE-1], tca[TCA_RATE-1]); in fw_change()
|
D | cls_route.c | 367 struct rtattr **tca, in route4_change() argument 373 struct rtattr *opt = tca[TCA_OPTIONS-1]; in route4_change() 399 struct tcf_police *police = tcf_police_locate(tb[TCA_ROUTE4_POLICE-1], tca[TCA_RATE-1]); in route4_change() 501 f->police = tcf_police_locate(tb[TCA_ROUTE4_POLICE-1], tca[TCA_RATE-1]); in route4_change()
|
D | cls_rsvp.h | 418 struct rtattr **tca, in rsvp_change() argument 425 struct rtattr *opt = tca[TCA_OPTIONS-1]; in rsvp_change() 452 struct tcf_police *police = tcf_police_locate(tb[TCA_RSVP_POLICE-1], tca[TCA_RATE-1]); in rsvp_change() 540 f->police = tcf_police_locate(tb[TCA_RSVP_POLICE-1], tca[TCA_RATE-1]); in rsvp_change()
|
D | cls_u32.c | 494 struct rtattr **tca, in u32_change() argument 501 struct rtattr *opt = tca[TCA_OPTIONS-1]; in u32_change() 516 return u32_set_parms(tp->q, base, n->ht_up, n, tb, tca[TCA_RATE-1]); in u32_change() 583 err = u32_set_parms(tp->q, base, ht, n, tb, tca[TCA_RATE-1]); in u32_change()
|
D | cls_tcindex.c | 216 struct rtattr **tca,unsigned long *arg) in tcindex_change() argument 222 struct rtattr *opt = tca[TCA_OPTIONS-1]; in tcindex_change() 232 "p %p,r %p\n",tp,handle,tca,arg,opt,p,r); in tcindex_change()
|
D | sch_dsmark.c | 117 struct rtattr **tca, unsigned long *arg) in dsmark_change() argument 120 struct rtattr *opt = tca[TCA_OPTIONS-1]; in dsmark_change()
|
D | sch_hfsc.c | 1035 struct rtattr **tca, unsigned long *arg) in hfsc_change_class() argument 1040 struct rtattr *opt = tca[TCA_OPTIONS-1]; in hfsc_change_class() 1099 if (tca[TCA_RATE-1]) { in hfsc_change_class() 1101 qdisc_new_estimator(&cl->stats, tca[TCA_RATE-1]); in hfsc_change_class() 1159 if (tca[TCA_RATE-1]) in hfsc_change_class() 1160 qdisc_new_estimator(&cl->stats, tca[TCA_RATE-1]); in hfsc_change_class()
|
D | sch_ingress.c | 103 struct rtattr **tca, unsigned long *arg) in ingress_change() argument
|
D | sch_cbq.c | 1783 cbq_change_class(struct Qdisc *sch, u32 classid, u32 parentid, struct rtattr **tca, in cbq_change_class() argument 1789 struct rtattr *opt = tca[TCA_OPTIONS-1]; in cbq_change_class() 1875 if (tca[TCA_RATE-1]) { in cbq_change_class() 1877 qdisc_new_estimator(&cl->stats, tca[TCA_RATE-1]); in cbq_change_class() 1967 if (tca[TCA_RATE-1]) in cbq_change_class() 1968 qdisc_new_estimator(&cl->stats, tca[TCA_RATE-1]); in cbq_change_class()
|
D | sch_atm.c | 224 struct rtattr **tca, unsigned long *arg) in atm_tc_change() argument 229 struct rtattr *opt = tca[TCA_OPTIONS-1]; in atm_tc_change()
|
D | sch_csz.c | 863 static int csz_change(struct Qdisc *sch, u32 handle, u32 parent, struct rtattr **tca, unsigned long… in csz_change() argument 867 struct rtattr *opt = tca[TCA_OPTIONS-1]; in csz_change()
|
D | sch_prio.c | 311 static int prio_change(struct Qdisc *sch, u32 handle, u32 parent, struct rtattr **tca, unsigned lon… in prio_change() argument
|
D | sch_tbf.c | 482 struct rtattr **tca, unsigned long *arg) in tbf_change_class() argument
|
D | sch_netem.c | 535 struct rtattr **tca, unsigned long *arg) in netem_change_class() argument
|
D | sch_htb.c | 1497 u32 parentid, struct rtattr **tca, unsigned long *arg) in htb_change_class() argument 1502 struct rtattr *opt = tca[TCA_OPTIONS-1]; in htb_change_class()
|