canfd: add support for CAN FD in CAN_RAW sockets
authorOliver Hartkopp <socketcan@hartkopp.net>
Wed, 13 Jun 2012 18:41:31 +0000 (20:41 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 19 Jun 2012 19:40:08 +0000 (21:40 +0200)
commite2d265d3b587f5f6f8febc0222aace93302ff0be
tree36530611615f19f3591955de0517aaac7d1a1766
parent8b01939f358d680cea971151375268cfdb6b9635
canfd: add support for CAN FD in CAN_RAW sockets

- introduce a new sockopt CAN_RAW_FD_FRAMES to allow CAN FD frames
- handle CAN frames and CAN FD frames simultaneously when enabled

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
include/linux/can/raw.h
net/can/raw.c