2 * can in net namespaces
5 #ifndef __NETNS_CAN_H__
6 #define __NETNS_CAN_H__
8 #include <linux/spinlock.h>
15 #if IS_ENABLED(CONFIG_PROC_FS)
16 struct proc_dir_entry *proc_dir;
17 struct proc_dir_entry *pde_version;
18 struct proc_dir_entry *pde_stats;
19 struct proc_dir_entry *pde_reset_stats;
20 struct proc_dir_entry *pde_rcvlist_all;
21 struct proc_dir_entry *pde_rcvlist_fil;
22 struct proc_dir_entry *pde_rcvlist_inv;
23 struct proc_dir_entry *pde_rcvlist_sff;
24 struct proc_dir_entry *pde_rcvlist_eff;
25 struct proc_dir_entry *pde_rcvlist_err;
26 struct proc_dir_entry *bcmproc_dir;
29 /* receive filters subscribed for 'all' CAN devices */
30 struct dev_rcv_lists *can_rx_alldev_list;
31 spinlock_t can_rcvlists_lock;
32 struct timer_list can_stattimer;/* timer for statistics update */
33 struct s_stats *can_stats; /* packet statistics */
34 struct s_pstats *can_pstats; /* receive list statistics */
36 /* CAN GW per-net gateway jobs */
37 struct hlist_head cgw_list;
40 #endif /* __NETNS_CAN_H__ */