/linux-2.4.37.9/net/sched/ |
D | sch_atm.c | 72 u32 classid; /* x:y type ID */ member 106 u32 classid) in lookup_flow() argument 111 if (flow->classid == classid) break; in lookup_flow() 141 static unsigned long atm_tc_get(struct Qdisc *sch,u32 classid) in atm_tc_get() argument 146 DPRINTK("atm_tc_get(sch %p,[qdisc %p],classid %x)\n",sch,p,classid); in atm_tc_get() 147 flow = lookup_flow(sch,classid); in atm_tc_get() 155 unsigned long parent, u32 classid) in atm_tc_bind_filter() argument 157 return atm_tc_get(sch,classid); in atm_tc_bind_filter() 223 static int atm_tc_change(struct Qdisc *sch, u32 classid, u32 parent, in atm_tc_change() argument 236 "flow %p,opt %p)\n",sch,p,classid,parent,flow,opt); in atm_tc_change() [all …]
|
D | sch_htb.c | 145 u32 classid; member 283 if (cl->classid == handle) in htb_find() 325 if (res.classid == sch->handle) in htb_classify() 327 if ((cl = htb_find(res.classid,sch)) == NULL) in htb_classify() 350 printk(" %x",cl->classid); htb_next_rb_node (&n); \ 375 cl->classid,cl->cmode,cl->tokens,cl->ctokens, in htb_debug_dump() 381 …d a=%x:",p,cl->un.inner.ptr[p]?rb_entry(cl->un.inner.ptr[p], struct htb_class,node[p])->classid:0); in htb_debug_dump() 399 HTB_DBG(7,3,"htb_add_id_tree cl=%X prio=%d\n",cl->classid,prio); in htb_add_to_id_tree() 412 if (cl->classid > c->classid) in htb_add_to_id_tree() 432 HTB_DBG(7,3,"htb_add_wt cl=%X key=%lu\n",cl->classid,cl->pq_key); in htb_add_to_wait_tree() [all …]
|
D | sch_ingress.c | 80 static unsigned long ingress_get(struct Qdisc *sch,u32 classid) in ingress_get() argument 85 DPRINTK("ingress_get(sch %p,[qdisc %p],classid %x)\n", sch, p, classid); in ingress_get() 86 return TC_H_MIN(classid) + 1; in ingress_get() 91 unsigned long parent, u32 classid) in ingress_bind_filter() argument 93 return ingress_get(sch, classid); in ingress_bind_filter() 102 static int ingress_change(struct Qdisc *sch, u32 classid, u32 parent, in ingress_change() argument 109 "arg 0x%lx\n", sch, p, classid, parent, *arg); in ingress_change() 145 D2PRINTK("result %d class 0x%04x\n", result, res.classid); in ingress_enqueue() 170 skb->tc_index = TC_H_MIN(res.classid); in ingress_enqueue()
|
D | cls_fw.c | 92 res->classid = id; in fw_classify() 206 f->res.classid = *(u32*)RTA_DATA(tb[TCA_FW_CLASSID-1]); in fw_change() 207 cl = tp->q->ops->cl_ops->bind_tcf(tp->q, base, f->res.classid); in fw_change() 251 f->res.classid = *(u32*)RTA_DATA(tb[TCA_FW_CLASSID-1]); in fw_change() 252 cls_set_class(tp, &f->res.class, tp->q->ops->cl_ops->bind_tcf(tp->q, base, f->res.classid)); in fw_change() 314 if (!f->res.classid in fw_dump() 324 if (f->res.classid) in fw_dump() 325 RTA_PUT(skb, TCA_FW_CLASSID, 4, &f->res.classid); in fw_dump()
|
D | sch_dsmark.c | 95 static unsigned long dsmark_get(struct Qdisc *sch,u32 classid) in dsmark_get() argument 99 DPRINTK("dsmark_get(sch %p,[qdisc %p],classid %x)\n",sch,p,classid); in dsmark_get() 100 return TC_H_MIN(classid)+1; in dsmark_get() 105 unsigned long parent, u32 classid) in dsmark_bind_filter() argument 107 return dsmark_get(sch,classid); in dsmark_bind_filter() 116 static int dsmark_change(struct Qdisc *sch, u32 classid, u32 parent, in dsmark_change() argument 124 "arg 0x%lx\n",sch,p,classid,parent,*arg); in dsmark_change() 217 D2PRINTK("result %d class 0x%04x\n",result,res.classid); in dsmark_enqueue() 229 skb->tc_index = TC_H_MIN(res.classid); in dsmark_enqueue()
|
D | sch_cbq.c | 97 u32 classid; member 204 cbq_class_lookup(struct cbq_sched_data *q, u32 classid) in cbq_class_lookup() argument 208 for (cl = q->classes[cbq_hash(classid)]; cl; cl = cl->next) in cbq_class_lookup() 209 if (cl->classid == classid) in cbq_class_lookup() 269 if (TC_H_MAJ(res.classid)) in cbq_classify() 270 cl = cbq_class_lookup(q, res.classid); in cbq_classify() 271 else if ((cl = defmap[res.classid&TC_PRIO_MAX]) == NULL) in cbq_classify() 1107 …printk(KERN_WARNING "CBQ: class %08x has bad quantum==%ld, repaired.\n", cl->classid, cl->quantum); in cbq_normalize_quanta() 1156 splitid = split->classid; in cbq_change_defmap() 1159 if (split == NULL || split->classid != splitid) { in cbq_change_defmap() [all …]
|
D | cls_rsvp.h | 199 tunnelid = f->res.classid; in rsvp_classify() 390 data->tgenerator = f->res.classid; in tunnel_recycle() 445 f->res.classid = *(u32*)RTA_DATA(tb[TCA_RSVP_CLASSID-1]); in rsvp_change() 446 cl = cls_set_class(tp, &f->res.class, tp->q->ops->cl_ops->bind_tcf(tp->q, base, f->res.classid)); in rsvp_change() 495 f->res.classid = *(u32*)RTA_DATA(tb[TCA_RSVP_CLASSID-1]); in rsvp_change() 510 if (f->res.classid > 255) in rsvp_change() 514 if (f->res.classid == 0 && in rsvp_change() 515 (f->res.classid = gen_tunnel(data)) == 0) in rsvp_change() 537 cls_set_class(tp, &f->res.class, tp->q->ops->cl_ops->bind_tcf(tp->q, base, f->res.classid)); in rsvp_change() 643 if (f->res.classid) in rsvp_dump() [all …]
|
D | sch_hfsc.c | 121 u32 classid; /* class id */ member 990 hfsc_find_class(u32 classid, struct Qdisc *sch) in hfsc_find_class() argument 995 list_for_each_entry(cl, &q->clhash[hfsc_hash(classid)], hlist) { in hfsc_find_class() 996 if (cl->classid == classid) in hfsc_find_class() 1034 hfsc_change_class(struct Qdisc *sch, u32 classid, u32 parentid, in hfsc_change_class() argument 1075 if (cl->cl_parent && cl->cl_parent->classid != parentid) in hfsc_change_class() 1117 if (classid == 0 || TC_H_MAJ(classid ^ sch->handle) != 0) in hfsc_change_class() 1119 if (hfsc_find_class(classid, sch)) in hfsc_change_class() 1138 cl->classid = classid; in hfsc_change_class() 1150 list_add_tail(&cl->hlist, &q->clhash[hfsc_hash(classid)]); in hfsc_change_class() [all …]
|
D | cls_tcindex.c | 102 res->classid = TC_H_MAKE(TC_H_MAJ(tp->q->handle), in tcindex_classify() 105 D2PRINTK("alg 0x%x\n",res->classid); in tcindex_classify() 109 D2PRINTK("map 0x%x\n",res->classid); in tcindex_classify() 328 r->res.classid = *(__u32 *) RTA_DATA(tb[TCA_TCINDEX_CLASSID-1]); in tcindex_change() 330 r->res.classid); in tcindex_change() 332 r->res.classid = 0; in tcindex_change() 469 RTA_PUT(skb, TCA_TCINDEX_CLASSID, 4, &r->res.classid); in tcindex_dump()
|
D | sch_prio.c | 63 band = res.classid; in prio_classify() 290 static unsigned long prio_get(struct Qdisc *sch, u32 classid) in prio_get() argument 293 unsigned long band = TC_H_MIN(classid); in prio_get() 300 static unsigned long prio_bind(struct Qdisc *sch, unsigned long parent, u32 classid) in prio_bind() argument 302 return prio_get(sch, classid); in prio_bind()
|
D | cls_route.c | 215 res->classid = id; in route4_classify() 392 f->res.classid = *(u32*)RTA_DATA(tb[TCA_ROUTE4_CLASSID-1]); in route4_change() 393 cl = cls_set_class(tp, &f->res.class, tp->q->ops->cl_ops->bind_tcf(tp->q, base, f->res.classid)); in route4_change() 472 f->res.classid = *(u32*)RTA_DATA(tb[TCA_ROUTE4_CLASSID-1]); in route4_change() 498 cls_set_class(tp, &f->res.class, tp->q->ops->cl_ops->bind_tcf(tp->q, base, f->res.classid)); in route4_change() 580 if (f->res.classid) in route4_dump() 581 RTA_PUT(skb, TCA_ROUTE4_CLASSID, 4, &f->res.classid); in route4_dump()
|
D | cls_u32.c | 472 n->res.classid = *(u32*)RTA_DATA(tb[TCA_U32_CLASSID-1]); in u32_set_parms() 474 cl = __cls_set_class(&n->res.class, q->ops->cl_ops->bind_tcf(q, base, n->res.classid)); in u32_set_parms() 664 if (n->res.classid) in u32_dump() 665 RTA_PUT(skb, TCA_U32_CLASSID, 4, &n->res.classid); in u32_dump()
|
D | sch_csz.c | 838 static unsigned long csz_get(struct Qdisc *sch, u32 classid) in csz_get() argument 841 unsigned long band = TC_H_MIN(classid) - 1; in csz_get() 852 static unsigned long csz_bind(struct Qdisc *sch, unsigned long parent, u32 classid) in csz_bind() argument 854 return csz_get(sch, classid); in csz_bind()
|
D | sch_api.c | 204 struct Qdisc *qdisc_leaf(struct Qdisc *p, u32 classid) in qdisc_leaf() argument 212 cl = cops->get(p, classid); in qdisc_leaf() 352 int qdisc_graft(struct net_device *dev, struct Qdisc *parent, u32 classid, in qdisc_graft() argument 371 unsigned long cl = cops->get(parent, classid); in qdisc_graft() 375 new->parent = classid; in qdisc_graft()
|
D | cls_api.c | 225 tp->classid = parent; in tc_ctl_tfilter() 301 tcm->tcm_parent = tp->classid; in tcf_fill_node()
|
D | sch_tbf.c | 472 static unsigned long tbf_get(struct Qdisc *sch, u32 classid) in tbf_get() argument 481 static int tbf_change_class(struct Qdisc *sch, u32 classid, u32 parentid, in tbf_change_class() argument
|
D | sch_netem.c | 525 static unsigned long netem_get(struct Qdisc *sch, u32 classid) in netem_get() argument 534 static int netem_change_class(struct Qdisc *sch, u32 classid, u32 parentid, in netem_change_class() argument
|
/linux-2.4.37.9/include/net/ |
D | pkt_cls.h | 15 u32 classid; member 28 u32 classid; member
|
D | pkt_sched.h | 37 unsigned long (*get)(struct Qdisc *, u32 classid); 45 unsigned long (*bind_tcf)(struct Qdisc *, unsigned long, u32 classid);
|