Home
last modified time | relevance | path

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

/linux/net/sched/
H A Dsch_htb.c1771 struct tc_htb_opt *hopt; in htb_change_class() local
1790 hopt = nla_data(tb[TCA_HTB_PARMS]); in htb_change_class()
1791 if (!hopt->rate.rate || !hopt->ceil.rate) in htb_change_class()
1796 if (hopt->rate.overhead || hopt->ceil.overhead) { in htb_change_class()
1800 if (hopt->rate.mpu || hopt->ceil.mpu) { in htb_change_class()
1807 if (hopt->rate.linklayer == TC_LINKLAYER_UNAWARE) in htb_change_class()
1808 qdisc_put_rtab(qdisc_get_rtab(&hopt->rate, tb[TCA_HTB_RTAB], in htb_change_class()
1811 if (hopt->ceil.linklayer == TC_LINKLAYER_UNAWARE) in htb_change_class()
1812 qdisc_put_rtab(qdisc_get_rtab(&hopt->ceil, tb[TCA_HTB_CTAB], in htb_change_class()
1897 .rate = max_t(u64, hopt->rate.rate, rate64), in htb_change_class()
[all …]