Searched refs:rtab (Results 1 – 7 of 7) sorted by relevance
/external/iproute2/tc/ |
D | q_cbq.c | 54 __u32 rtab[256]; in cbq_parse_opt() local 152 if (tc_calc_rtable(&r, rtab, cell_log, allot, linklayer) < 0) { in cbq_parse_opt() 168 addattr_l(n, 3024, TCA_CBQ_RTAB, rtab, 1024); in cbq_parse_opt() 173 printf("%u ", rtab[i]); in cbq_parse_opt() 187 __u32 rtab[256]; in cbq_parse_class_opt() local 361 if (tc_calc_rtable(&r, rtab, cell_log, pktsize, linklayer) < 0) { in cbq_parse_class_opt() 420 addattr_l(n, 3024, TCA_CBQ_RTAB, rtab, 1024); in cbq_parse_class_opt() 425 printf("%u ", rtab[i]); in cbq_parse_class_opt()
|
D | tc_core.c | 126 int tc_calc_rtable(struct tc_ratespec *r, __u32 *rtab, in tc_calc_rtable() argument 146 rtab[i] = tc_calc_xmittime(bps, sz); in tc_calc_rtable()
|
D | m_police.c | 62 __u32 rtab[256]; in act_parse_police() local 214 if (tc_calc_rtable(&p.rate, rtab, Rcell_log, mtu, in act_parse_police() 236 addattr_l(n, MAX_MSG, TCA_POLICE_RATE, rtab, 1024); in act_parse_police()
|
D | q_htb.c | 116 __u32 rtab[256], ctab[256]; in htb_parse_class_opt() local 236 if (tc_calc_rtable(&opt.rate, rtab, cell_log, mtu, linklayer) < 0) { in htb_parse_class_opt() 258 addattr_l(n, 3024, TCA_HTB_RTAB, rtab, 1024); in htb_parse_class_opt()
|
D | q_tbf.c | 43 __u32 rtab[256]; in tbf_parse_opt() local 218 if (tc_calc_rtable(&opt.rate, rtab, Rcell_log, mtu, linklayer) < 0) { in tbf_parse_opt() 240 addattr_l(n, 3024, TCA_TBF_RTAB, rtab, 1024); in tbf_parse_opt()
|
D | tc_core.h | 23 int tc_calc_rtable(struct tc_ratespec *r, __u32 *rtab,
|
/external/libnl/lib/route/qdisc/ |
D | tbf.c | 133 uint32_t rtab[RTNL_TC_RTABLE_SIZE], ptab[RTNL_TC_RTABLE_SIZE]; in tbf_msg_fill() local 145 rtnl_tc_build_rate_table(tc, &tbf->qt_rate, rtab); in tbf_msg_fill() 156 NLA_PUT(msg, TCA_TBF_RTAB, sizeof(rtab), rtab); in tbf_msg_fill()
|