aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/sctp/structs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/sctp/structs.h')
-rw-r--r--include/net/sctp/structs.h22
1 files changed, 1 insertions, 21 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h
index c0563d1dd7c7..6bdfcabe560e 100644
--- a/include/net/sctp/structs.h
+++ b/include/net/sctp/structs.h
@@ -205,21 +205,7 @@ extern struct sctp_globals {
205 int port_hashsize; 205 int port_hashsize;
206 struct sctp_bind_hashbucket *port_hashtable; 206 struct sctp_bind_hashbucket *port_hashtable;
207 207
208 /* This is the global local address list.
209 * We actively maintain this complete list of addresses on
210 * the system by catching address add/delete events.
211 *
212 * It is a list of sctp_sockaddr_entry.
213 */
214 struct list_head local_addr_list;
215 int default_auto_asconf; 208 int default_auto_asconf;
216 struct list_head addr_waitq;
217 struct timer_list addr_wq_timer;
218 struct list_head auto_asconf_splist;
219 spinlock_t addr_wq_lock;
220
221 /* Lock that protects the local_addr_list writers */
222 spinlock_t addr_list_lock;
223 209
224 /* Flag to indicate if addip is enabled. */ 210 /* Flag to indicate if addip is enabled. */
225 int addip_enable; 211 int addip_enable;
@@ -278,12 +264,6 @@ extern struct sctp_globals {
278#define sctp_assoc_hashtable (sctp_globals.assoc_hashtable) 264#define sctp_assoc_hashtable (sctp_globals.assoc_hashtable)
279#define sctp_port_hashsize (sctp_globals.port_hashsize) 265#define sctp_port_hashsize (sctp_globals.port_hashsize)
280#define sctp_port_hashtable (sctp_globals.port_hashtable) 266#define sctp_port_hashtable (sctp_globals.port_hashtable)
281#define sctp_local_addr_list (sctp_globals.local_addr_list)
282#define sctp_local_addr_lock (sctp_globals.addr_list_lock)
283#define sctp_auto_asconf_splist (sctp_globals.auto_asconf_splist)
284#define sctp_addr_waitq (sctp_globals.addr_waitq)
285#define sctp_addr_wq_timer (sctp_globals.addr_wq_timer)
286#define sctp_addr_wq_lock (sctp_globals.addr_wq_lock)
287#define sctp_default_auto_asconf (sctp_globals.default_auto_asconf) 267#define sctp_default_auto_asconf (sctp_globals.default_auto_asconf)
288#define sctp_scope_policy (sctp_globals.ipv4_scope_policy) 268#define sctp_scope_policy (sctp_globals.ipv4_scope_policy)
289#define sctp_addip_enable (sctp_globals.addip_enable) 269#define sctp_addip_enable (sctp_globals.addip_enable)
@@ -1241,7 +1221,7 @@ struct sctp_bind_addr {
1241 1221
1242void sctp_bind_addr_init(struct sctp_bind_addr *, __u16 port); 1222void sctp_bind_addr_init(struct sctp_bind_addr *, __u16 port);
1243void sctp_bind_addr_free(struct sctp_bind_addr *); 1223void sctp_bind_addr_free(struct sctp_bind_addr *);
1244int sctp_bind_addr_copy(struct sctp_bind_addr *dest, 1224int sctp_bind_addr_copy(struct net *net, struct sctp_bind_addr *dest,
1245 const struct sctp_bind_addr *src, 1225 const struct sctp_bind_addr *src,
1246 sctp_scope_t scope, gfp_t gfp, 1226 sctp_scope_t scope, gfp_t gfp,
1247 int flags); 1227 int flags);