Home | History | Annotate | Download | only in tc

Lines Matching refs:tb

137 	struct rtattr *tb[TCA_DSMARK_MAX+1];
140 memset(tb, 0, sizeof(tb));
141 parse_rtattr(tb, TCA_DSMARK_MAX, RTA_DATA(opt), RTA_PAYLOAD(opt));
142 if (tb[TCA_DSMARK_MASK]) {
143 if (!RTA_PAYLOAD(tb[TCA_DSMARK_MASK]))
146 *(__u8 *) RTA_DATA(tb[TCA_DSMARK_MASK]));
148 if (tb[TCA_DSMARK_VALUE]) {
149 if (!RTA_PAYLOAD(tb[TCA_DSMARK_VALUE]))
152 *(__u8 *) RTA_DATA(tb[TCA_DSMARK_VALUE]));
154 if (tb[TCA_DSMARK_INDICES]) {
155 if (RTA_PAYLOAD(tb[TCA_DSMARK_INDICES]) < sizeof(__u16))
158 *(__u16 *) RTA_DATA(tb[TCA_DSMARK_INDICES]));
160 if (tb[TCA_DSMARK_DEFAULT_INDEX]) {
161 if (RTA_PAYLOAD(tb[TCA_DSMARK_DEFAULT_INDEX]) < sizeof(__u16))
164 *(__u16 *) RTA_DATA(tb[TCA_DSMARK_DEFAULT_INDEX]));
166 if (tb[TCA_DSMARK_SET_TC_INDEX]) fprintf(f,"set_tc_index ");