sctp.h 883 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef __NETNS_SCTP_H__
  2. #define __NETNS_SCTP_H__
  3. struct sock;
  4. struct proc_dir_entry;
  5. struct netns_sctp {
  6. #ifdef CONFIG_PROC_FS
  7. struct proc_dir_entry *proc_net_sctp;
  8. #endif
  9. /* This is the global socket data structure used for responding to
  10. * the Out-of-the-blue (OOTB) packets. A control sock will be created
  11. * for this socket at the initialization time.
  12. */
  13. struct sock *ctl_sock;
  14. /* This is the global local address list.
  15. * We actively maintain this complete list of addresses on
  16. * the system by catching address add/delete events.
  17. *
  18. * It is a list of sctp_sockaddr_entry.
  19. */
  20. struct list_head local_addr_list;
  21. struct list_head addr_waitq;
  22. struct timer_list addr_wq_timer;
  23. struct list_head auto_asconf_splist;
  24. spinlock_t addr_wq_lock;
  25. /* Lock that protects the local_addr_list writers */
  26. spinlock_t local_addr_lock;
  27. };
  28. #endif /* __NETNS_SCTP_H__ */