Home
last modified time | relevance | path

Searched refs:TC_H_MAKE (Results 1 – 16 of 16) sorted by relevance

/linux-2.6.39/net/sched/
Dcls_api.c111 u32 first = TC_H_MAKE(0xC0000000U, 0U); in tcf_auto_prio()
155 prio = TC_H_MAKE(0x80000000U, 0U); in tc_ctl_tfilter()
359 tcm->tcm_info = TC_H_MAKE(tp->prio, tp->protocol); in tcf_fill_node()
Dsch_api.c626 static u32 autohandle = TC_H_MAKE(0x80000000U, 0); in qdisc_alloc_handle()
629 autohandle += TC_H_MAKE(0x10000U, 0); in qdisc_alloc_handle()
630 if (autohandle == TC_H_MAKE(TC_H_ROOT, 0)) in qdisc_alloc_handle()
631 autohandle = TC_H_MAKE(0x80000000U, 0); in qdisc_alloc_handle()
822 handle = TC_H_MAKE(TC_H_INGRESS, 0); in qdisc_create()
1416 pid = TC_H_MAKE(qid, pid); in tc_ctl_tclass()
1437 clid = TC_H_MAKE(qid, clid); in tc_ctl_tclass()
Dcls_flow.c395 res->classid = TC_H_MAKE(f->baseclass, f->baseclass + classid); in flow_classify()
517 baseclass = TC_H_MAKE(tp->q->handle, baseclass); in flow_change()
519 baseclass = TC_H_MAKE(baseclass, 1); in flow_change()
Dsch_mqprio.c127 TC_H_MAKE(TC_H_MAJ(sch->handle), in mqprio_init()
302 TC_H_MAKE(TC_H_MAJ(sch->handle), in mqprio_dump_class()
Dsch_fifo.c168 q = qdisc_create_dflt(sch->dev_queue, ops, TC_H_MAKE(sch->handle, 1)); in fifo_create_dflt()
Dsch_mq.c60 TC_H_MAKE(TC_H_MAJ(sch->handle), in mq_init()
Dsch_multiq.c231 TC_H_MAKE(sch->handle, in multiq_tune()
Dsch_prio.c204 TC_H_MAKE(sch->handle, i + 1)); in prio_tune()
Dsch_dsmark.c426 tcm->tcm_handle = TC_H_MAKE(TC_H_MAJ(sch->handle), cl - 1); in dsmark_dump_class()
Dcls_tcindex.c96 res->classid = TC_H_MAKE(TC_H_MAJ(tp->q->handle), key); in tcindex_classify()
Dsch_atm.c263 classid = TC_H_MAKE(sch->handle, 0x8000 | i); in atm_tc_change()
Dsch_netem.c769 TC_H_MAKE(sch->handle, 1)); in netem_init()
Dsch_htb.c237 cl = htb_find(TC_H_MAKE(TC_H_MAJ(sch->handle), q->defcls), sch); in htb_classify()
Dsch_hfsc.c1193 cl = hfsc_find_class(TC_H_MAKE(TC_H_MAJ(sch->handle), q->defcls), sch); in hfsc_classify()
Dsch_cbq.c1840 classid = TC_H_MAKE(sch->handle, 0x8000); in cbq_change_class()
/linux-2.6.39/include/linux/
Dpkt_sched.h70 #define TC_H_MAKE(maj,min) (((maj)&TC_H_MAJ_MASK)|((min)&TC_H_MIN_MASK)) macro