Searched refs:TC_H_MAKE (Results 1 – 9 of 9) sorted by relevance
/linux-2.4.37.9/net/sched/ |
D | sch_api.c | 287 static u32 autohandle = TC_H_MAKE(0x80000000U, 0); in qdisc_alloc_handle() 290 autohandle += TC_H_MAKE(0x10000U, 0); in qdisc_alloc_handle() 291 if (autohandle == TC_H_MAKE(TC_H_ROOT, 0)) in qdisc_alloc_handle() 292 autohandle = TC_H_MAKE(0x80000000U, 0); in qdisc_alloc_handle() 450 sch->handle =TC_H_MAKE(TC_H_INGRESS, 0); in qdisc_create() 896 pid = TC_H_MAKE(qid, pid); in tc_ctl_tclass() 916 clid = TC_H_MAKE(qid, clid); in tc_ctl_tclass()
|
D | cls_api.c | 108 u32 first = TC_H_MAKE(0xC0000000U,0U); in tcf_auto_prio() 140 prio = TC_H_MAKE(0x80000000U,0U); in tc_ctl_tfilter() 303 tcm->tcm_info = TC_H_MAKE(tp->prio, tp->protocol); in tcf_fill_node()
|
D | sch_dsmark.c | 402 tcm->tcm_handle = TC_H_MAKE(TC_H_MAJ(sch->handle),cl-1); in dsmark_dump_class()
|
D | cls_tcindex.c | 102 res->classid = TC_H_MAKE(TC_H_MAJ(tp->q->handle), in tcindex_classify()
|
D | sch_atm.c | 298 classid = TC_H_MAKE(sch->handle,0x8000 | i); in atm_tc_change()
|
D | sch_hfsc.c | 1246 cl = hfsc_find_class(TC_H_MAKE(TC_H_MAJ(sch->handle), q->defcls), sch); in hfsc_classify()
|
D | sch_htb.c | 337 cl = htb_find(TC_H_MAKE(TC_H_MAJ(sch->handle),q->defcls),sch); in htb_classify()
|
D | sch_cbq.c | 1900 classid = TC_H_MAKE(sch->handle,0x8000); in cbq_change_class()
|
/linux-2.4.37.9/include/linux/ |
D | pkt_sched.h | 73 #define TC_H_MAKE(maj,min) (((maj)&TC_H_MAJ_MASK)|((min)&TC_H_MIN_MASK)) macro
|