Lines Matching refs:tb
1143 struct rtattr *tb[TCA_U32_MAX+1];
1150 parse_rtattr_nested(tb, TCA_U32_MAX, opt);
1160 if (tb[TCA_U32_SEL]) {
1161 if (RTA_PAYLOAD(tb[TCA_U32_SEL]) < sizeof(*sel))
1164 sel = RTA_DATA(tb[TCA_U32_SEL]);
1167 if (tb[TCA_U32_DIVISOR]) {
1168 fprintf(f, "ht divisor %d ", *(__u32*)RTA_DATA(tb[TCA_U32_DIVISOR]));
1169 } else if (tb[TCA_U32_HASH]) {
1170 __u32 htid = *(__u32*)RTA_DATA(tb[TCA_U32_HASH]);
1176 if (tb[TCA_U32_CLASSID]) {
1180 sprint_tc_classid(*(__u32*)RTA_DATA(tb[TCA_U32_CLASSID]), b1));
1184 if (tb[TCA_U32_LINK]) {
1187 sprint_u32_handle(*(__u32*)RTA_DATA(tb[TCA_U32_LINK]), b1));
1190 if (tb[TCA_U32_PCNT]) {
1191 if (RTA_PAYLOAD(tb[TCA_U32_PCNT]) < sizeof(*pf)) {
1195 pf = RTA_DATA(tb[TCA_U32_PCNT]);
1203 if (tb[TCA_U32_MARK]) {
1204 struct tc_u32_mark *mark = RTA_DATA(tb[TCA_U32_MARK]);
1205 if (RTA_PAYLOAD(tb[TCA_U32_MARK]) < sizeof(*mark)) {
1242 if (tb[TCA_U32_POLICE]) {
1244 tc_print_police(f, tb[TCA_U32_POLICE]);
1246 if (tb[TCA_U32_INDEV]) {
1247 struct rtattr *idev = tb[TCA_U32_INDEV];
1250 if (tb[TCA_U32_ACT]) {
1251 tc_print_action(f, tb[TCA_U32_ACT]);