aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/can/isotp.c
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2022-04-21 12:31:52 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2022-05-16 22:03:45 +0200
commit51a0d5e51178fcd147c1b8fdab2ed16b561326db (patch)
tree39fcd972775f40e6b4476036e91de885495ef260 /net/can/isotp.c
parentcan: raw: raw_sendmsg(): remove not needed setting of skb->sk (diff)
downloadwireguard-linux-51a0d5e51178fcd147c1b8fdab2ed16b561326db.tar.xz
wireguard-linux-51a0d5e51178fcd147c1b8fdab2ed16b561326db.zip
can: raw: add support for SO_TXTIME/SCM_TXTIME
This patch calls into sock_cmsg_send() to parse the user supplied control information into a struct sockcm_cookie. Then assign the requested transmit time to the skb. This makes it possible to use the Earliest TXTIME First (ETF) packet scheduler with the CAN_RAW protocol. The user can send a CAN_RAW frame with a TXTIME and the kernel (with the ETF scheduler) will take care of sending it to the network interface. Link: https://lore.kernel.org/all/20220502091946.1916211-3-mkl@pengutronix.de Acked-by: Oliver Hartkopp <socketcan@hartkopp.net> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'net/can/isotp.c')
0 files changed, 0 insertions, 0 deletions