Lines Matching refs:tb
132 struct rtattr *tb[TCA_TCINDEX_MAX+1]; in tcindex_print_opt() local
137 parse_rtattr_nested(tb, TCA_TCINDEX_MAX, opt); in tcindex_print_opt()
140 if (tb[TCA_TCINDEX_HASH]) { in tcindex_print_opt()
143 if (RTA_PAYLOAD(tb[TCA_TCINDEX_HASH]) < sizeof(hash)) in tcindex_print_opt()
145 hash = rta_getattr_u16(tb[TCA_TCINDEX_HASH]); in tcindex_print_opt()
148 if (tb[TCA_TCINDEX_MASK]) { in tcindex_print_opt()
151 if (RTA_PAYLOAD(tb[TCA_TCINDEX_MASK]) < sizeof(mask)) in tcindex_print_opt()
153 mask = rta_getattr_u16(tb[TCA_TCINDEX_MASK]); in tcindex_print_opt()
156 if (tb[TCA_TCINDEX_SHIFT]) { in tcindex_print_opt()
159 if (RTA_PAYLOAD(tb[TCA_TCINDEX_SHIFT]) < sizeof(shift)) in tcindex_print_opt()
161 shift = *(int *) RTA_DATA(tb[TCA_TCINDEX_SHIFT]); in tcindex_print_opt()
164 if (tb[TCA_TCINDEX_FALL_THROUGH]) { in tcindex_print_opt()
167 if (RTA_PAYLOAD(tb[TCA_TCINDEX_FALL_THROUGH]) < in tcindex_print_opt()
170 fall_through = *(int *) RTA_DATA(tb[TCA_TCINDEX_FALL_THROUGH]); in tcindex_print_opt()
173 if (tb[TCA_TCINDEX_CLASSID]) { in tcindex_print_opt()
176 RTA_DATA(tb[TCA_TCINDEX_CLASSID]), b1)); in tcindex_print_opt()
178 if (tb[TCA_TCINDEX_POLICE]) { in tcindex_print_opt()
180 tc_print_police(f, tb[TCA_TCINDEX_POLICE]); in tcindex_print_opt()
182 if (tb[TCA_TCINDEX_ACT]) { in tcindex_print_opt()
184 tc_print_police(f, tb[TCA_TCINDEX_ACT]); in tcindex_print_opt()