Skip to content

Commit

Permalink
can: add socket type for CAN_J1939
Browse files Browse the repository at this point in the history
This patch is a preparation for SAE J1939 and adds CAN_J1939
socket type.

Signed-off-by: Kurt Van Dijck <[email protected]>
Signed-off-by: Oleksij Rempel <[email protected]>
Acked-by: Oliver Hartkopp <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
  • Loading branch information
kurt-vd authored and marckleinebudde committed Sep 4, 2019
1 parent 9868b5d commit 2a0c9aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/uapi/linux/can.h
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ struct canfd_frame {
#define CAN_TP20 4 /* VAG Transport Protocol v2.0 */
#define CAN_MCNET 5 /* Bosch MCNet */
#define CAN_ISOTP 6 /* ISO 15765-2 Transport Protocol */
#define CAN_NPROTO 7
#define CAN_J1939 7 /* SAE J1939 */
#define CAN_NPROTO 8

#define SOL_CAN_BASE 100

Expand Down

0 comments on commit 2a0c9aa

Please sign in to comment.