diff options
author | David S. Miller <davem@davemloft.net> | 2012-07-07 19:29:29 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-07 19:29:29 -0400 |
commit | 8f961faef791f6cc8fb1d10817fa7af3efcb544e (patch) | |
tree | 0d4ecd861c575d7ebd235cea61eeea7cac034a25 /include | |
parent | 95162d652477f6e3d04687f5d39d443fcc64d8d7 (diff) | |
parent | f057bbb6f9ed0fb61ea11105c9ef0ed5ac1a354d (diff) |
Merge branch 'for-davem' of git://gitorious.org/linux-can/linux-can-next
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 |