diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/can/core.h | 4 | ||||
| -rw-r--r-- | include/net/netns/can.h | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/include/linux/can/core.h b/include/linux/can/core.h index 319a0da827b8..c9a17bb1221c 100644 --- a/include/linux/can/core.h +++ b/include/linux/can/core.h | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | * | 5 | * |
| 6 | * Authors: Oliver Hartkopp <oliver.hartkopp@volkswagen.de> | 6 | * Authors: Oliver Hartkopp <oliver.hartkopp@volkswagen.de> |
| 7 | * Urs Thuermann <urs.thuermann@volkswagen.de> | 7 | * Urs Thuermann <urs.thuermann@volkswagen.de> |
| 8 | * Copyright (c) 2002-2007 Volkswagen Group Electronic Research | 8 | * Copyright (c) 2002-2017 Volkswagen Group Electronic Research |
| 9 | * All rights reserved. | 9 | * All rights reserved. |
| 10 | * | 10 | * |
| 11 | */ | 11 | */ |
| @@ -17,7 +17,7 @@ | |||
| 17 | #include <linux/skbuff.h> | 17 | #include <linux/skbuff.h> |
| 18 | #include <linux/netdevice.h> | 18 | #include <linux/netdevice.h> |
| 19 | 19 | ||
| 20 | #define CAN_VERSION "20120528" | 20 | #define CAN_VERSION "20170425" |
| 21 | 21 | ||
| 22 | /* increment this number each time you change some user-space interface */ | 22 | /* increment this number each time you change some user-space interface */ |
| 23 | #define CAN_ABI_VERSION "9" | 23 | #define CAN_ABI_VERSION "9" |
diff --git a/include/net/netns/can.h b/include/net/netns/can.h index e8beba772f1a..574157dbc43a 100644 --- a/include/net/netns/can.h +++ b/include/net/netns/can.h | |||
| @@ -8,6 +8,8 @@ | |||
| 8 | #include <linux/spinlock.h> | 8 | #include <linux/spinlock.h> |
| 9 | 9 | ||
| 10 | struct dev_rcv_lists; | 10 | struct dev_rcv_lists; |
| 11 | struct s_stats; | ||
| 12 | struct s_pstats; | ||
| 11 | 13 | ||
| 12 | struct netns_can { | 14 | struct netns_can { |
| 13 | #if IS_ENABLED(CONFIG_PROC_FS) | 15 | #if IS_ENABLED(CONFIG_PROC_FS) |
| @@ -26,6 +28,9 @@ struct netns_can { | |||
| 26 | /* receive filters subscribed for 'all' CAN devices */ | 28 | /* receive filters subscribed for 'all' CAN devices */ |
| 27 | struct dev_rcv_lists *can_rx_alldev_list; | 29 | struct dev_rcv_lists *can_rx_alldev_list; |
| 28 | spinlock_t can_rcvlists_lock; | 30 | spinlock_t can_rcvlists_lock; |
| 31 | struct timer_list can_stattimer;/* timer for statistics update */ | ||
| 32 | struct s_stats *can_stats; /* packet statistics */ | ||
| 33 | struct s_pstats *can_pstats; /* receive list statistics */ | ||
| 29 | }; | 34 | }; |
| 30 | 35 | ||
| 31 | #endif /* __NETNS_CAN_H__ */ | 36 | #endif /* __NETNS_CAN_H__ */ |
