Lines Matching refs:rate
90 long rate; in htb_parse_class_argv() local
123 rate = nl_size2int(optarg); in htb_parse_class_argv()
124 if (rate < 0) { in htb_parse_class_argv()
125 nl_cli_fatal(rate, "Unable to parse htb rate " in htb_parse_class_argv()
129 rtnl_htb_set_rate(class, rate); in htb_parse_class_argv()
133 rate = nl_size2int(optarg); in htb_parse_class_argv()
134 if (rate < 0) { in htb_parse_class_argv()
135 nl_cli_fatal(rate, "Unable to parse htb ceil rate " in htb_parse_class_argv()
139 rtnl_htb_set_ceil(class, rate); in htb_parse_class_argv()
147 rate = nl_size2int(optarg); in htb_parse_class_argv()
148 if (rate < 0) { in htb_parse_class_argv()
149 nl_cli_fatal(rate, "Unable to parse quantum " in htb_parse_class_argv()
153 rtnl_htb_set_quantum(class, rate); in htb_parse_class_argv()
157 rate = nl_size2int(optarg); in htb_parse_class_argv()
158 if (rate < 0) { in htb_parse_class_argv()
159 nl_cli_fatal(rate, "Unable to parse burst " in htb_parse_class_argv()
163 rtnl_htb_set_rbuffer(class, rate); in htb_parse_class_argv()
167 rate = nl_size2int(optarg); in htb_parse_class_argv()
168 if (rate < 0) { in htb_parse_class_argv()
169 nl_cli_fatal(rate, "Unable to parse cburst " in htb_parse_class_argv()
173 rtnl_htb_set_cbuffer(class, rate); in htb_parse_class_argv()