Home | History | Annotate | Download | only in tc

Lines Matching refs:tb

1175 	struct rtattr *tb[TCA_U32_MAX+1];
1182 parse_rtattr_nested(tb, TCA_U32_MAX, opt);
1192 if (tb[TCA_U32_SEL]) {
1193 if (RTA_PAYLOAD(tb[TCA_U32_SEL]) < sizeof(*sel))
1196 sel = RTA_DATA(tb[TCA_U32_SEL]);
1199 if (tb[TCA_U32_DIVISOR]) {
1200 fprintf(f, "ht divisor %d ", *(__u32*)RTA_DATA(tb[TCA_U32_DIVISOR]));
1201 } else if (tb[TCA_U32_HASH]) {
1202 __u32 htid = *(__u32*)RTA_DATA(tb[TCA_U32_HASH]);
1208 if (tb[TCA_U32_CLASSID]) {
1212 sprint_tc_classid(*(__u32*)RTA_DATA(tb[TCA_U32_CLASSID]), b1));
1216 if (tb[TCA_U32_LINK]) {
1219 sprint_u32_handle(*(__u32*)RTA_DATA(tb[TCA_U32_LINK]), b1));
1222 if (tb[TCA_U32_PCNT]) {
1223 if (RTA_PAYLOAD(tb[TCA_U32_PCNT]) < sizeof(*pf)) {
1227 pf = RTA_DATA(tb[TCA_U32_PCNT]);
1235 if (tb[TCA_U32_MARK]) {
1236 struct tc_u32_mark *mark = RTA_DATA(tb[TCA_U32_MARK]);
1237 if (RTA_PAYLOAD(tb[TCA_U32_MARK]) < sizeof(*mark)) {
1274 if (tb[TCA_U32_POLICE]) {
1276 tc_print_police(f, tb[TCA_U32_POLICE]);
1278 if (tb[TCA_U32_INDEV]) {
1279 struct rtattr *idev = tb[TCA_U32_INDEV];
1282 if (tb[TCA_U32_ACT]) {
1283 tc_print_action(f, tb[TCA_U32_ACT]);