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