diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/can.h | 3 | ||||
-rw-r--r-- | include/linux/pkt_cls.h | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/include/linux/can.h b/include/linux/can.h index 1a66cf6112ae..018055efc034 100644 --- a/include/linux/can.h +++ b/include/linux/can.h | |||
@@ -38,6 +38,9 @@ | |||
38 | */ | 38 | */ |
39 | typedef __u32 canid_t; | 39 | typedef __u32 canid_t; |
40 | 40 | ||
41 | #define CAN_SFF_ID_BITS 11 | ||
42 | #define CAN_EFF_ID_BITS 29 | ||
43 | |||
41 | /* | 44 | /* |
42 | * Controller Area Network Error Message Frame Mask structure | 45 | * Controller Area Network Error Message Frame Mask structure |
43 | * | 46 | * |
diff --git a/include/linux/pkt_cls.h b/include/linux/pkt_cls.h index defbde203d07..38fbd4bc20ab 100644 --- a/include/linux/pkt_cls.h +++ b/include/linux/pkt_cls.h | |||
@@ -451,8 +451,9 @@ enum { | |||
451 | #define TCF_EM_U32 3 | 451 | #define TCF_EM_U32 3 |
452 | #define TCF_EM_META 4 | 452 | #define TCF_EM_META 4 |
453 | #define TCF_EM_TEXT 5 | 453 | #define TCF_EM_TEXT 5 |
454 | #define TCF_EM_VLAN 6 | 454 | #define TCF_EM_VLAN 6 |
455 | #define TCF_EM_MAX 6 | 455 | #define TCF_EM_CANID 7 |
456 | #define TCF_EM_MAX 7 | ||
456 | 457 | ||
457 | enum { | 458 | enum { |
458 | TCF_EM_PROG_TC | 459 | TCF_EM_PROG_TC |