Home
last modified time | relevance | path

Searched refs:TC_H_MAJ (Results 1 – 12 of 12) sorted by relevance

/linux-2.4.37.9/net/sched/
Dcls_api.c123 u32 prio = TC_H_MAJ(t->tcm_info); in tc_ctl_tfilter()
153 } else if ((q = qdisc_lookup(dev, TC_H_MAJ(t->tcm_parent))) == NULL) in tc_ctl_tfilter()
370 q = qdisc_lookup(dev, TC_H_MAJ(tcm->tcm_parent)); in tc_dump_tfilter()
391 if (TC_H_MAJ(tcm->tcm_info) && in tc_dump_tfilter()
392 TC_H_MAJ(tcm->tcm_info) != tp->prio) in tc_dump_tfilter()
Dsch_api.c551 if (TC_H_MAJ(clid) != TC_H_MAJ(TC_H_INGRESS)) { in tc_get_qdisc()
552 if ((p = qdisc_lookup(dev, TC_H_MAJ(clid))) == NULL) in tc_get_qdisc()
613 if ((p = qdisc_lookup(dev, TC_H_MAJ(clid))) == NULL) in tc_modify_qdisc()
857 u32 qid = TC_H_MAJ(clid); in tc_ctl_tclass()
879 u32 qid1 = TC_H_MAJ(pid); in tc_ctl_tclass()
1043 TC_H_MAJ(tcm->tcm_parent) != q->handle)) { in tc_dump_tclass()
Dcls_fw.c90 if (id && (TC_H_MAJ(id) == 0 || in fw_classify()
91 !(TC_H_MAJ(id^tp->q->handle)))) { in fw_classify()
Dsch_prio.c57 if (TC_H_MAJ(skb->priority) != sch->handle) { in prio_classify()
59 if (TC_H_MAJ(band)) in prio_classify()
Dsch_dsmark.c213 if (TC_H_MAJ(skb->priority) == sch->handle) { in dsmark_enqueue()
402 tcm->tcm_handle = TC_H_MAKE(TC_H_MAJ(sch->handle),cl-1); in dsmark_dump_class()
Dcls_route.c213 if (id && (TC_H_MAJ(id) == 0 || in route4_classify()
214 !(TC_H_MAJ(id^tp->q->handle)))) { in route4_classify()
Dsch_atm.c283 if (TC_H_MAJ(classid ^ sch->handle)) { in atm_tc_change()
405 if (TC_H_MAJ(skb->priority) != sch->handle || in atm_tc_enqueue()
Dsch_cbq.c253 if (TC_H_MAJ(prio^sch->handle) == 0 && in cbq_classify()
269 if (TC_H_MAJ(res.classid)) in cbq_classify()
305 if (TC_H_MAJ(prio) == 0 && in cbq_classify()
1896 if (TC_H_MAJ(classid^sch->handle) || cbq_class_lookup(q, classid)) in cbq_change_class()
Dsch_hfsc.c1117 if (classid == 0 || TC_H_MAJ(classid ^ sch->handle) != 0) in hfsc_change_class()
1222 if (TC_H_MAJ(skb->priority ^ sch->handle) == 0 && in hfsc_classify()
1246 cl = hfsc_find_class(TC_H_MAKE(TC_H_MAJ(sch->handle), q->defcls), sch); in hfsc_classify()
Dcls_tcindex.c102 res->classid = TC_H_MAKE(TC_H_MAJ(tp->q->handle), in tcindex_classify()
Dsch_htb.c278 if (TC_H_MAJ(handle) != sch->handle) in htb_find()
337 cl = htb_find(TC_H_MAKE(TC_H_MAJ(sch->handle),q->defcls),sch); in htb_classify()
1524 if (!classid || TC_H_MAJ(classid^sch->handle) || htb_find(classid,sch)) in htb_change_class()
/linux-2.4.37.9/include/linux/
Dpkt_sched.h71 #define TC_H_MAJ(h) ((h)&TC_H_MAJ_MASK) macro