Lines Matching refs:rate
84 long rate; in htb_parse_class_argv() local
117 rate = nl_size2int(optarg); in htb_parse_class_argv()
118 if (rate < 0) { in htb_parse_class_argv()
119 nl_cli_fatal(rate, "Unable to parse htb rate " in htb_parse_class_argv()
123 rtnl_htb_set_rate(class, rate); in htb_parse_class_argv()
127 rate = nl_size2int(optarg); in htb_parse_class_argv()
128 if (rate < 0) { in htb_parse_class_argv()
129 nl_cli_fatal(rate, "Unable to parse htb ceil rate " in htb_parse_class_argv()
133 rtnl_htb_set_ceil(class, rate); in htb_parse_class_argv()
141 rate = nl_size2int(optarg); in htb_parse_class_argv()
142 if (rate < 0) { in htb_parse_class_argv()
143 nl_cli_fatal(rate, "Unable to parse quantum " in htb_parse_class_argv()
147 rtnl_htb_set_quantum(class, rate); in htb_parse_class_argv()
151 rate = nl_size2int(optarg); in htb_parse_class_argv()
152 if (rate < 0) { in htb_parse_class_argv()
153 nl_cli_fatal(rate, "Unable to parse burst " in htb_parse_class_argv()
157 rtnl_htb_set_rbuffer(class, rate); in htb_parse_class_argv()
161 rate = nl_size2int(optarg); in htb_parse_class_argv()
162 if (rate < 0) { in htb_parse_class_argv()
163 nl_cli_fatal(rate, "Unable to parse cburst " in htb_parse_class_argv()
167 rtnl_htb_set_cbuffer(class, rate); in htb_parse_class_argv()