| .. | .. |
|---|
| 7 | 7 | #define __NETNS_CAN_H__ |
|---|
| 8 | 8 | |
|---|
| 9 | 9 | #include <linux/spinlock.h> |
|---|
| 10 | +#include <linux/android_kabi.h> |
|---|
| 10 | 11 | |
|---|
| 11 | 12 | struct can_dev_rcv_lists; |
|---|
| 12 | | -struct s_stats; |
|---|
| 13 | | -struct s_pstats; |
|---|
| 13 | +struct can_pkg_stats; |
|---|
| 14 | +struct can_rcv_lists_stats; |
|---|
| 14 | 15 | |
|---|
| 15 | 16 | struct netns_can { |
|---|
| 16 | 17 | #if IS_ENABLED(CONFIG_PROC_FS) |
|---|
| 17 | 18 | struct proc_dir_entry *proc_dir; |
|---|
| 18 | | - struct proc_dir_entry *pde_version; |
|---|
| 19 | 19 | struct proc_dir_entry *pde_stats; |
|---|
| 20 | 20 | struct proc_dir_entry *pde_reset_stats; |
|---|
| 21 | 21 | struct proc_dir_entry *pde_rcvlist_all; |
|---|
| .. | .. |
|---|
| 28 | 28 | #endif |
|---|
| 29 | 29 | |
|---|
| 30 | 30 | /* receive filters subscribed for 'all' CAN devices */ |
|---|
| 31 | | - struct can_dev_rcv_lists *can_rx_alldev_list; |
|---|
| 32 | | - spinlock_t can_rcvlists_lock; |
|---|
| 33 | | - struct timer_list can_stattimer;/* timer for statistics update */ |
|---|
| 34 | | - struct s_stats *can_stats; /* packet statistics */ |
|---|
| 35 | | - struct s_pstats *can_pstats; /* receive list statistics */ |
|---|
| 31 | + struct can_dev_rcv_lists *rx_alldev_list; |
|---|
| 32 | + spinlock_t rcvlists_lock; |
|---|
| 33 | + struct timer_list stattimer; /* timer for statistics update */ |
|---|
| 34 | + struct can_pkg_stats *pkg_stats; |
|---|
| 35 | + struct can_rcv_lists_stats *rcv_lists_stats; |
|---|
| 36 | 36 | |
|---|
| 37 | 37 | /* CAN GW per-net gateway jobs */ |
|---|
| 38 | 38 | struct hlist_head cgw_list; |
|---|
| 39 | + |
|---|
| 40 | + ANDROID_KABI_RESERVE(1); |
|---|
| 39 | 41 | }; |
|---|
| 40 | 42 | |
|---|
| 41 | 43 | #endif /* __NETNS_CAN_H__ */ |
|---|