sctp.h 791 B

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