Lines Matching refs:tb
196 static void can_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in can_print_opt() argument
198 if (!tb) in can_print_opt()
201 if (tb[IFLA_CAN_CTRLMODE]) { in can_print_opt()
202 struct can_ctrlmode *cm = RTA_DATA(tb[IFLA_CAN_CTRLMODE]); in can_print_opt()
208 if (tb[IFLA_CAN_STATE]) { in can_print_opt()
209 int *state = RTA_DATA(tb[IFLA_CAN_STATE]); in can_print_opt()
215 if (tb[IFLA_CAN_BERR_COUNTER]) { in can_print_opt()
217 RTA_DATA(tb[IFLA_CAN_BERR_COUNTER]); in can_print_opt()
222 if (tb[IFLA_CAN_RESTART_MS]) { in can_print_opt()
223 __u32 *restart_ms = RTA_DATA(tb[IFLA_CAN_RESTART_MS]); in can_print_opt()
228 if (tb[IFLA_CAN_BITTIMING]) { in can_print_opt()
229 struct can_bittiming *bt = RTA_DATA(tb[IFLA_CAN_BITTIMING]); in can_print_opt()
240 if (tb[IFLA_CAN_BITTIMING_CONST]) { in can_print_opt()
242 RTA_DATA(tb[IFLA_CAN_BITTIMING_CONST]); in can_print_opt()
252 if (tb[IFLA_CAN_CLOCK]) { in can_print_opt()
253 struct can_clock *clock = RTA_DATA(tb[IFLA_CAN_CLOCK]); in can_print_opt()