Lines Matching refs:tb
128 struct rtattr *tb[TCA_TCINDEX_MAX+1];
133 parse_rtattr_nested(tb, TCA_TCINDEX_MAX, opt);
136 if (tb[TCA_TCINDEX_HASH]) {
139 if (RTA_PAYLOAD(tb[TCA_TCINDEX_HASH]) < sizeof(hash))
141 hash = *(__u16 *) RTA_DATA(tb[TCA_TCINDEX_HASH]);
144 if (tb[TCA_TCINDEX_MASK]) {
147 if (RTA_PAYLOAD(tb[TCA_TCINDEX_MASK]) < sizeof(mask))
149 mask = *(__u16 *) RTA_DATA(tb[TCA_TCINDEX_MASK]);
152 if (tb[TCA_TCINDEX_SHIFT]) {
155 if (RTA_PAYLOAD(tb[TCA_TCINDEX_SHIFT]) < sizeof(shift))
157 shift = *(int *) RTA_DATA(tb[TCA_TCINDEX_SHIFT]);
160 if (tb[TCA_TCINDEX_FALL_THROUGH]) {
163 if (RTA_PAYLOAD(tb[TCA_TCINDEX_FALL_THROUGH]) <
166 fall_through = *(int *) RTA_DATA(tb[TCA_TCINDEX_FALL_THROUGH]);
169 if (tb[TCA_TCINDEX_CLASSID]) {
172 RTA_DATA(tb[TCA_TCINDEX_CLASSID]), b1));
174 if (tb[TCA_TCINDEX_POLICE]) {
176 tc_print_police(f, tb[TCA_TCINDEX_POLICE]);