Lines Matching refs:tb
134 struct rtattr *tb[TCA_DSMARK_MAX+1];
137 memset(tb, 0, sizeof(tb));
138 parse_rtattr(tb, TCA_DSMARK_MAX, RTA_DATA(opt), RTA_PAYLOAD(opt));
139 if (tb[TCA_DSMARK_MASK]) {
140 if (!RTA_PAYLOAD(tb[TCA_DSMARK_MASK]))
143 *(__u8 *) RTA_DATA(tb[TCA_DSMARK_MASK]));
145 if (tb[TCA_DSMARK_VALUE]) {
146 if (!RTA_PAYLOAD(tb[TCA_DSMARK_VALUE]))
149 *(__u8 *) RTA_DATA(tb[TCA_DSMARK_VALUE]));
151 if (tb[TCA_DSMARK_INDICES]) {
152 if (RTA_PAYLOAD(tb[TCA_DSMARK_INDICES]) < sizeof(__u16))
155 *(__u16 *) RTA_DATA(tb[TCA_DSMARK_INDICES]));
157 if (tb[TCA_DSMARK_DEFAULT_INDEX]) {
158 if (RTA_PAYLOAD(tb[TCA_DSMARK_DEFAULT_INDEX]) < sizeof(__u16))
161 *(__u16 *) RTA_DATA(tb[TCA_DSMARK_DEFAULT_INDEX]));
163 if (tb[TCA_DSMARK_SET_TC_INDEX]) fprintf(f,"set_tc_index ");