Home | History | Annotate | Download | only in ip

Lines Matching refs:tb

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