History

can: add socket type for CAN_J1939

This patch is a preparation for SAE J1939 and adds CAN_J1939 socket type.

Kurt Van Dijck committed 8 years ago

Commit 2a0c9aa1 parent 9868b5d1 file · +2 −1Browse files

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/can.h+2−1
@@ -157,7 +157,8 @@ struct canfd_frame { · 156 unmodified lines
157157 #define CAN_TP20 4 /* VAG Transport Protocol v2.0 */
158158 #define CAN_MCNET 5 /* Bosch MCNet */
159159 #define CAN_ISOTP 6 /* ISO 15765-2 Transport Protocol */
160−#define CAN_NPROTO 7
160+#define CAN_J1939 7 /* SAE J1939 */
161+#define CAN_NPROTO 8
161162
162163 #define SOL_CAN_BASE 100
163164