Home | History | Annotate | Download | only in tc

Lines Matching defs:tb

124 	struct rtattr *tb[TCA_TCINDEX_MAX+1];
129 parse_rtattr_nested(tb, TCA_TCINDEX_MAX, opt);
132 if (tb[TCA_TCINDEX_HASH]) {
135 if (RTA_PAYLOAD(tb[TCA_TCINDEX_HASH]) < sizeof(hash))
137 hash = rta_getattr_u16(tb[TCA_TCINDEX_HASH]);
140 if (tb[TCA_TCINDEX_MASK]) {
143 if (RTA_PAYLOAD(tb[TCA_TCINDEX_MASK]) < sizeof(mask))
145 mask = rta_getattr_u16(tb[TCA_TCINDEX_MASK]);
148 if (tb[TCA_TCINDEX_SHIFT]) {
151 if (RTA_PAYLOAD(tb[TCA_TCINDEX_SHIFT]) < sizeof(shift))
153 shift = *(int *) RTA_DATA(tb[TCA_TCINDEX_SHIFT]);
156 if (tb[TCA_TCINDEX_FALL_THROUGH]) {
159 if (RTA_PAYLOAD(tb[TCA_TCINDEX_FALL_THROUGH]) <
162 fall_through = *(int *) RTA_DATA(tb[TCA_TCINDEX_FALL_THROUGH]);
165 if (tb[TCA_TCINDEX_CLASSID]) {
168 RTA_DATA(tb[TCA_TCINDEX_CLASSID]), b1));
170 if (tb[TCA_TCINDEX_POLICE]) {
172 tc_print_police(f, tb[TCA_TCINDEX_POLICE]);