]> git.ipfire.org Git - thirdparty/iproute2.git/commit
iplink_can: add struct can_tdc
authorVincent Mailhol <mailhol.vincent@wanadoo.fr>
Tue, 12 Nov 2024 17:27:55 +0000 (02:27 +0900)
committerDavid Ahern <dsahern@kernel.org>
Mon, 18 Nov 2024 16:50:45 +0000 (16:50 +0000)
commitaac087a0108b23b0337a0af1837f475c5dc561ab
tree92fd6249ae7eeba8a68c69d47b4b7a26caecae06
parent68aaea862838bdaae5dcf3905188b97fcee32cbd
iplink_can: add struct can_tdc

Add the struct can_tdc to group the tdcv, tdco and tdvf variables
together. The structure is borrowed from linux/can/bittiming.h [1].

This refactor is a preparation for the introduction of CAN XL.

[1] https://elixir.bootlin.com/linux/v6.11/source/include/linux/can/bittiming.h#L78

Signed-off-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Signed-off-by: David Ahern <dsahern@kernel.org>
ip/iplink_can.c