/* SPDX-License-Identifier: GPL-2.0 */ /* * can in net namespaces */ #ifndef __NETNS_CAN_H__ #define __NETNS_CAN_H__ #include <linux/spinlock.h> struct dev_rcv_lists; struct s_stats; struct s_pstats; struct netns_can { #if IS_ENABLED(CONFIG_PROC_FS) struct proc_dir_entry *proc_dir; struct proc_dir_entry *pde_version; struct proc_dir_entry *pde_stats; struct proc_dir_entry *pde_reset_stats; struct proc_dir_entry *pde_rcvlist_all; struct proc_dir_entry *pde_rcvlist_fil; struct proc_dir_entry *pde_rcvlist_inv; struct proc_dir_entry *pde_rcvlist_sff; struct proc_dir_entry *pde_rcvlist_eff; struct proc_dir_entry *pde_rcvlist_err; struct proc_dir_entry *bcmproc_dir; #endif /* receive filters subscribed for 'all' CAN devices */ struct dev_rcv_lists *can_rx_alldev_list; spinlock_t can_rcvlists_lock; struct timer_list can_stattimer;/* timer for statistics update */ struct s_stats *can_stats; /* packet statistics */ struct s_pstats *can_pstats; /* receive list statistics */ /* CAN GW per-net gateway jobs */ struct hlist_head cgw_list; }; #endif /* __NETNS_CAN_H__ */
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
can.h | File | 1.08 KB | 0644 |
|
conntrack.h | File | 2.72 KB | 0644 |
|
core.h | File | 285 B | 0644 |
|
dccp.h | File | 185 B | 0644 |
|
generic.h | File | 1.15 KB | 0644 |
|
hash.h | File | 212 B | 0644 |
|
ieee802154_6lowpan.h | File | 399 B | 0644 |
|
ipv4.h | File | 5.2 KB | 0644 |
|
ipv6.h | File | 2.64 KB | 0644 |
|
mib.h | File | 986 B | 0644 |
|
mpls.h | File | 371 B | 0644 |
|
netfilter.h | File | 689 B | 0644 |
|
nftables.h | File | 440 B | 0644 |
|
packet.h | File | 295 B | 0644 |
|
sctp.h | File | 3.83 KB | 0644 |
|
unix.h | File | 263 B | 0644 |
|
x_tables.h | File | 507 B | 0644 |
|
xfrm.h | File | 1.84 KB | 0644 |
|