Searched refs:TC_H_MAJ (Results 1 – 12 of 12) sorted by relevance
/linux-2.4.37.9/net/sched/ |
D | cls_api.c | 123 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()
|
D | sch_api.c | 551 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()
|
D | cls_fw.c | 90 if (id && (TC_H_MAJ(id) == 0 || in fw_classify() 91 !(TC_H_MAJ(id^tp->q->handle)))) { in fw_classify()
|
D | sch_prio.c | 57 if (TC_H_MAJ(skb->priority) != sch->handle) { in prio_classify() 59 if (TC_H_MAJ(band)) in prio_classify()
|
D | sch_dsmark.c | 213 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()
|
D | cls_route.c | 213 if (id && (TC_H_MAJ(id) == 0 || in route4_classify() 214 !(TC_H_MAJ(id^tp->q->handle)))) { in route4_classify()
|
D | sch_atm.c | 283 if (TC_H_MAJ(classid ^ sch->handle)) { in atm_tc_change() 405 if (TC_H_MAJ(skb->priority) != sch->handle || in atm_tc_enqueue()
|
D | sch_cbq.c | 253 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()
|
D | sch_hfsc.c | 1117 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()
|
D | cls_tcindex.c | 102 res->classid = TC_H_MAKE(TC_H_MAJ(tp->q->handle), in tcindex_classify()
|
D | sch_htb.c | 278 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/ |
D | pkt_sched.h | 71 #define TC_H_MAJ(h) ((h)&TC_H_MAJ_MASK) macro
|