14db67e80SEric W. Biederman #ifndef __NETNS_SCTP_H__ 24db67e80SEric W. Biederman #define __NETNS_SCTP_H__ 34db67e80SEric W. Biederman 42ce95503SEric W. Biederman struct sock; 513d782f6SEric W. Biederman struct proc_dir_entry; 6b01a2407SEric W. Biederman struct sctp_mib; 7*ebb7e95dSEric W. Biederman struct ctl_table_header; 82ce95503SEric W. Biederman 94db67e80SEric W. Biederman struct netns_sctp { 10b01a2407SEric W. Biederman DEFINE_SNMP_STAT(struct sctp_mib, sctp_statistics); 11b01a2407SEric W. Biederman 1213d782f6SEric W. Biederman #ifdef CONFIG_PROC_FS 1313d782f6SEric W. Biederman struct proc_dir_entry *proc_net_sctp; 1413d782f6SEric W. Biederman #endif 15*ebb7e95dSEric W. Biederman #ifdef CONFIG_SYSCTL 16*ebb7e95dSEric W. Biederman struct ctl_table_header *sysctl_header; 17*ebb7e95dSEric W. Biederman #endif 182ce95503SEric W. Biederman /* This is the global socket data structure used for responding to 192ce95503SEric W. Biederman * the Out-of-the-blue (OOTB) packets. A control sock will be created 202ce95503SEric W. Biederman * for this socket at the initialization time. 212ce95503SEric W. Biederman */ 222ce95503SEric W. Biederman struct sock *ctl_sock; 232ce95503SEric W. Biederman 244db67e80SEric W. Biederman /* This is the global local address list. 254db67e80SEric W. Biederman * We actively maintain this complete list of addresses on 264db67e80SEric W. Biederman * the system by catching address add/delete events. 274db67e80SEric W. Biederman * 284db67e80SEric W. Biederman * It is a list of sctp_sockaddr_entry. 294db67e80SEric W. Biederman */ 304db67e80SEric W. Biederman struct list_head local_addr_list; 314db67e80SEric W. Biederman struct list_head addr_waitq; 324db67e80SEric W. Biederman struct timer_list addr_wq_timer; 334db67e80SEric W. Biederman struct list_head auto_asconf_splist; 344db67e80SEric W. Biederman spinlock_t addr_wq_lock; 354db67e80SEric W. Biederman 364db67e80SEric W. Biederman /* Lock that protects the local_addr_list writers */ 374db67e80SEric W. Biederman spinlock_t local_addr_lock; 38*ebb7e95dSEric W. Biederman 394db67e80SEric W. Biederman }; 404db67e80SEric W. Biederman 414db67e80SEric W. Biederman #endif /* __NETNS_SCTP_H__ */ 42