Lines Matching defs:tb
204 struct rtattr * tb[TCA_MAX+1];
221 memset(tb, 0, sizeof(tb));
222 parse_rtattr(tb, TCA_MAX, TCA_RTA(t), len);
224 if (tb[TCA_KIND] == NULL) {
232 fprintf(fp, "qdisc %s %x: ", rta_getattr_str(tb[TCA_KIND]), t->tcm_handle>>16);
246 if (0 == strcmp("pfifo_fast", RTA_DATA(tb[TCA_KIND])))
249 q = get_qdisc_kind(RTA_DATA(tb[TCA_KIND]));
251 if (tb[TCA_OPTIONS]) {
253 q->print_qopt(q, fp, tb[TCA_OPTIONS]);
258 if (show_details && tb[TCA_STAB]) {
259 print_size_table(fp, " ", tb[TCA_STAB]);
265 if (tb[TCA_STATS] || tb[TCA_STATS2] || tb[TCA_XSTATS]) {
266 print_tcstats_attr(fp, tb, " ", &xstats);