Home | History | Annotate | Download | only in tc

Lines Matching refs:tb

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