Home
last modified time | relevance | path

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

/linux-2.4.37.9/net/sched/
Dsch_api.c390 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 …]
Dcls_api.c120 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()
Dcls_fw.c183 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()
Dcls_route.c367 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()
Dcls_rsvp.h418 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()
Dcls_u32.c494 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()
Dcls_tcindex.c216 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()
Dsch_dsmark.c117 struct rtattr **tca, unsigned long *arg) in dsmark_change() argument
120 struct rtattr *opt = tca[TCA_OPTIONS-1]; in dsmark_change()
Dsch_hfsc.c1035 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()
Dsch_ingress.c103 struct rtattr **tca, unsigned long *arg) in ingress_change() argument
Dsch_cbq.c1783 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()
Dsch_atm.c224 struct rtattr **tca, unsigned long *arg) in atm_tc_change() argument
229 struct rtattr *opt = tca[TCA_OPTIONS-1]; in atm_tc_change()
Dsch_csz.c863 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()
Dsch_prio.c311 static int prio_change(struct Qdisc *sch, u32 handle, u32 parent, struct rtattr **tca, unsigned lon… in prio_change() argument
Dsch_tbf.c482 struct rtattr **tca, unsigned long *arg) in tbf_change_class() argument
Dsch_netem.c535 struct rtattr **tca, unsigned long *arg) in netem_change_class() argument
Dsch_htb.c1497 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()