]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - include/net/netns/sctp.h
sctp: Make the address lists per network namespace
[mirror_ubuntu-bionic-kernel.git] / include / net / netns / sctp.h
1 #ifndef __NETNS_SCTP_H__
2 #define __NETNS_SCTP_H__
3
4 struct netns_sctp {
5 /* This is the global local address list.
6 * We actively maintain this complete list of addresses on
7 * the system by catching address add/delete events.
8 *
9 * It is a list of sctp_sockaddr_entry.
10 */
11 struct list_head local_addr_list;
12 struct list_head addr_waitq;
13 struct timer_list addr_wq_timer;
14 struct list_head auto_asconf_splist;
15 spinlock_t addr_wq_lock;
16
17 /* Lock that protects the local_addr_list writers */
18 spinlock_t local_addr_lock;
19 };
20
21 #endif /* __NETNS_SCTP_H__ */