Lines Matching defs:tb
157 struct rtattr * tb[TCA_MAX+1];
176 memset(tb, 0, sizeof(tb));
177 parse_rtattr(tb, TCA_MAX, TCA_RTA(t), len);
179 if (tb[TCA_KIND] == NULL) {
194 fprintf(fp, "class %s %s ", rta_getattr_str(tb[TCA_KIND]), abuf);
210 q = get_qdisc_kind(RTA_DATA(tb[TCA_KIND]));
211 if (tb[TCA_OPTIONS]) {
213 q->print_copt(q, fp, tb[TCA_OPTIONS]);
221 if (tb[TCA_STATS] || tb[TCA_STATS2]) {
222 print_tcstats_attr(fp, tb, " ", &xstats);
225 if (q && (xstats || tb[TCA_XSTATS]) && q->print_xstats) {
226 q->print_xstats(q, fp, xstats ? : tb[TCA_XSTATS]);