Searched refs:R_tab (Results 1 – 4 of 4) sorted by relevance
/linux-2.4.37.9/net/sched/ |
D | police.c | 34 #define L2T(p,L) ((p)->R_tab->data[(L)>>(p)->R_tab->rate.cell_log]) 86 if (p->R_tab) in tcf_police_destroy() 87 qdisc_put_rtab(p->R_tab); in tcf_police_destroy() 126 if ((p->R_tab = qdisc_get_rtab(&parm->rate, tb[TCA_POLICE_RATE-1])) == NULL) in tcf_police_locate() 142 if (p->R_tab) in tcf_police_locate() 143 p->mtu = 255<<p->R_tab->rate.cell_log; in tcf_police_locate() 162 if (p->R_tab) in tcf_police_locate() 163 qdisc_put_rtab(p->R_tab); in tcf_police_locate() 188 if (p->R_tab == NULL) { in tcf_police() 231 if (p->R_tab) in tcf_police_dump() [all …]
|
D | sch_tbf.c | 124 struct qdisc_rate_table *R_tab; member 135 #define L2T(q,L) ((q)->R_tab->data[(L)>>(q)->R_tab->rate.cell_log]) 355 rtab = xchg(&q->R_tab, rtab); in tbf_change() 398 if (q->R_tab) in tbf_destroy() 399 qdisc_put_rtab(q->R_tab); in tbf_destroy() 418 opt.rate = q->R_tab->rate; in tbf_dump()
|
D | sch_cbq.c | 113 struct qdisc_rate_table *R_tab; member 193 #define L2T(cl,len) ((cl)->R_tab->data[(len)>>(cl)->R_tab->rate.cell_log]) 1414 if ((q->link.R_tab = qdisc_get_rtab(r, tb[TCA_CBQ_RTAB-1])) == NULL) { in cbq_init() 1433 q->link.weight = q->link.R_tab->rate.rate; in cbq_init() 1463 RTA_PUT(skb, TCA_CBQ_RATE, sizeof(cl->R_tab->rate), &cl->R_tab->rate); in cbq_dump_rate() 1725 qdisc_put_rtab(cl->R_tab); in cbq_destroy_class() 1846 rtab = xchg(&cl->R_tab, rtab); in cbq_change_class() 1927 cl->R_tab = rtab; in cbq_change_class() 1937 cl->weight = cl->R_tab->rate.rate; in cbq_change_class()
|
/linux-2.4.37.9/include/net/ |
D | pkt_sched.h | 401 struct qdisc_rate_table *R_tab; member
|