summaryrefslogtreecommitdiffstats
path: root/include/linux/can.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/can.h')
-rw-r--r--include/linux/can.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/can.h b/include/linux/can.h
index 1a66cf61..018055e 100644
--- a/include/linux/can.h
+++ b/include/linux/can.h
@@ -38,6 +38,9 @@
*/
typedef __u32 canid_t;
+#define CAN_SFF_ID_BITS 11
+#define CAN_EFF_ID_BITS 29
+
/*
* Controller Area Network Error Message Frame Mask structure
*
OpenPOWER on IntegriCloud