Lines Matching refs:tb
952 struct rtattr *tb[TCA_U32_MAX+1];
959 parse_rtattr_nested(tb, TCA_U32_MAX, opt);
969 if (tb[TCA_U32_SEL]) {
970 if (RTA_PAYLOAD(tb[TCA_U32_SEL]) < sizeof(*sel))
973 sel = RTA_DATA(tb[TCA_U32_SEL]);
976 if (tb[TCA_U32_DIVISOR]) {
977 fprintf(f, "ht divisor %d ", *(__u32*)RTA_DATA(tb[TCA_U32_DIVISOR]));
978 } else if (tb[TCA_U32_HASH]) {
979 __u32 htid = *(__u32*)RTA_DATA(tb[TCA_U32_HASH]);
984 if (tb[TCA_U32_CLASSID]) {
988 sprint_tc_classid(*(__u32*)RTA_DATA(tb[TCA_U32_CLASSID]), b1));
992 if (tb[TCA_U32_LINK]) {
994 fprintf(f, "link %s ", sprint_u32_handle(*(__u32*)RTA_DATA(tb[TCA_U32_LINK]), b1));
997 if (tb[TCA_U32_PCNT]) {
998 if (RTA_PAYLOAD(tb[TCA_U32_PCNT]) < sizeof(*pf)) {
1002 pf = RTA_DATA(tb[TCA_U32_PCNT]);
1010 if (tb[TCA_U32_MARK]) {
1011 struct tc_u32_mark *mark = RTA_DATA(tb[TCA_U32_MARK]);
1012 if (RTA_PAYLOAD(tb[TCA_U32_MARK]) < sizeof(*mark)) {
1052 if (tb[TCA_U32_POLICE]) {
1054 tc_print_police(f, tb[TCA_U32_POLICE]);
1056 if (tb[TCA_U32_INDEV]) {
1057 struct rtattr *idev = tb[TCA_U32_INDEV];
1060 if (tb[TCA_U32_ACT]) {
1061 tc_print_action(f, tb[TCA_U32_ACT]);