Lines Matching refs:tb

214 	struct rtattr *tb[TCA_FQ_MAX + 1];  in fq_print_opt()  local
226 parse_rtattr_nested(tb, TCA_FQ_MAX, opt); in fq_print_opt()
228 if (tb[TCA_FQ_PLIMIT] && in fq_print_opt()
229 RTA_PAYLOAD(tb[TCA_FQ_PLIMIT]) >= sizeof(__u32)) { in fq_print_opt()
230 plimit = rta_getattr_u32(tb[TCA_FQ_PLIMIT]); in fq_print_opt()
233 if (tb[TCA_FQ_FLOW_PLIMIT] && in fq_print_opt()
234 RTA_PAYLOAD(tb[TCA_FQ_FLOW_PLIMIT]) >= sizeof(__u32)) { in fq_print_opt()
235 flow_plimit = rta_getattr_u32(tb[TCA_FQ_FLOW_PLIMIT]); in fq_print_opt()
238 if (tb[TCA_FQ_BUCKETS_LOG] && in fq_print_opt()
239 RTA_PAYLOAD(tb[TCA_FQ_BUCKETS_LOG]) >= sizeof(__u32)) { in fq_print_opt()
240 buckets_log = rta_getattr_u32(tb[TCA_FQ_BUCKETS_LOG]); in fq_print_opt()
243 if (tb[TCA_FQ_ORPHAN_MASK] && in fq_print_opt()
244 RTA_PAYLOAD(tb[TCA_FQ_ORPHAN_MASK]) >= sizeof(__u32)) { in fq_print_opt()
245 orphan_mask = rta_getattr_u32(tb[TCA_FQ_ORPHAN_MASK]); in fq_print_opt()
248 if (tb[TCA_FQ_RATE_ENABLE] && in fq_print_opt()
249 RTA_PAYLOAD(tb[TCA_FQ_RATE_ENABLE]) >= sizeof(int)) { in fq_print_opt()
250 pacing = rta_getattr_u32(tb[TCA_FQ_RATE_ENABLE]); in fq_print_opt()
254 if (tb[TCA_FQ_QUANTUM] && in fq_print_opt()
255 RTA_PAYLOAD(tb[TCA_FQ_QUANTUM]) >= sizeof(__u32)) { in fq_print_opt()
256 quantum = rta_getattr_u32(tb[TCA_FQ_QUANTUM]); in fq_print_opt()
259 if (tb[TCA_FQ_INITIAL_QUANTUM] && in fq_print_opt()
260 RTA_PAYLOAD(tb[TCA_FQ_INITIAL_QUANTUM]) >= sizeof(__u32)) { in fq_print_opt()
261 quantum = rta_getattr_u32(tb[TCA_FQ_INITIAL_QUANTUM]); in fq_print_opt()
264 if (tb[TCA_FQ_FLOW_MAX_RATE] && in fq_print_opt()
265 RTA_PAYLOAD(tb[TCA_FQ_FLOW_MAX_RATE]) >= sizeof(__u32)) { in fq_print_opt()
266 rate = rta_getattr_u32(tb[TCA_FQ_FLOW_MAX_RATE]); in fq_print_opt()
271 if (tb[TCA_FQ_FLOW_DEFAULT_RATE] && in fq_print_opt()
272 RTA_PAYLOAD(tb[TCA_FQ_FLOW_DEFAULT_RATE]) >= sizeof(__u32)) { in fq_print_opt()
273 rate = rta_getattr_u32(tb[TCA_FQ_FLOW_DEFAULT_RATE]); in fq_print_opt()
278 if (tb[TCA_FQ_FLOW_REFILL_DELAY] && in fq_print_opt()
279 RTA_PAYLOAD(tb[TCA_FQ_FLOW_REFILL_DELAY]) >= sizeof(__u32)) { in fq_print_opt()
280 refill_delay = rta_getattr_u32(tb[TCA_FQ_FLOW_REFILL_DELAY]); in fq_print_opt()