Home | History | Annotate | Download | only in tc

Lines Matching defs:tb

136 	struct rtattr *tb[TCA_ROUTE4_MAX+1];
142 parse_rtattr_nested(tb, TCA_ROUTE4_MAX, opt);
149 if (tb[TCA_ROUTE4_CLASSID]) {
151 fprintf(f, "flowid %s ", sprint_tc_classid(*(__u32*)RTA_DATA(tb[TCA_ROUTE4_CLASSID]), b1));
153 if (tb[TCA_ROUTE4_TO])
154 fprintf(f, "to %s ", rtnl_rtrealm_n2a(*(__u32*)RTA_DATA(tb[TCA_ROUTE4_TO]), b1, sizeof(b1)));
155 if (tb[TCA_ROUTE4_FROM])
156 fprintf(f, "from %s ", rtnl_rtrealm_n2a(*(__u32*)RTA_DATA(tb[TCA_ROUTE4_FROM]), b1, sizeof(b1)));
157 if (tb[TCA_ROUTE4_IIF])
158 fprintf(f, "fromif %s", ll_index_to_name(*(int*)RTA_DATA(tb[TCA_ROUTE4_IIF])));
159 if (tb[TCA_ROUTE4_POLICE])
160 tc_print_police(f, tb[TCA_ROUTE4_POLICE]);