aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/sctp/sctp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/sctp/sctp.h')
-rw-r--r--include/net/sctp/sctp.h25
1 files changed, 12 insertions, 13 deletions
diff --git a/include/net/sctp/sctp.h b/include/net/sctp/sctp.h
index 550a81bbfc71..b49588a51d80 100644
--- a/include/net/sctp/sctp.h
+++ b/include/net/sctp/sctp.h
@@ -172,14 +172,14 @@ void sctp_backlog_migrate(struct sctp_association *assoc,
172/* 172/*
173 * sctp/proc.c 173 * sctp/proc.c
174 */ 174 */
175int sctp_snmp_proc_init(void); 175int sctp_snmp_proc_init(struct net *net);
176void sctp_snmp_proc_exit(void); 176void sctp_snmp_proc_exit(struct net *net);
177int sctp_eps_proc_init(void); 177int sctp_eps_proc_init(struct net *net);
178void sctp_eps_proc_exit(void); 178void sctp_eps_proc_exit(struct net *net);
179int sctp_assocs_proc_init(void); 179int sctp_assocs_proc_init(struct net *net);
180void sctp_assocs_proc_exit(void); 180void sctp_assocs_proc_exit(struct net *net);
181int sctp_remaddr_proc_init(void); 181int sctp_remaddr_proc_init(struct net *net);
182void sctp_remaddr_proc_exit(void); 182void sctp_remaddr_proc_exit(struct net *net);
183 183
184 184
185/* 185/*
@@ -360,16 +360,16 @@ atomic_t sctp_dbg_objcnt_## name = ATOMIC_INIT(0)
360#define SCTP_DBG_OBJCNT_ENTRY(name) \ 360#define SCTP_DBG_OBJCNT_ENTRY(name) \
361{.label= #name, .counter= &sctp_dbg_objcnt_## name} 361{.label= #name, .counter= &sctp_dbg_objcnt_## name}
362 362
363void sctp_dbg_objcnt_init(void); 363void sctp_dbg_objcnt_init(struct net *);
364void sctp_dbg_objcnt_exit(void); 364void sctp_dbg_objcnt_exit(struct net *);
365 365
366#else 366#else
367 367
368#define SCTP_DBG_OBJCNT_INC(name) 368#define SCTP_DBG_OBJCNT_INC(name)
369#define SCTP_DBG_OBJCNT_DEC(name) 369#define SCTP_DBG_OBJCNT_DEC(name)
370 370
371static inline void sctp_dbg_objcnt_init(void) { return; } 371static inline void sctp_dbg_objcnt_init(struct net *) { return; }
372static inline void sctp_dbg_objcnt_exit(void) { return; } 372static inline void sctp_dbg_objcnt_exit(struct net *) { return; }
373 373
374#endif /* CONFIG_SCTP_DBG_OBJCOUNT */ 374#endif /* CONFIG_SCTP_DBG_OBJCOUNT */
375 375
@@ -585,7 +585,6 @@ for (pos = chunk->subh.fwdtsn_hdr->skip;\
585 585
586extern struct proto sctp_prot; 586extern struct proto sctp_prot;
587extern struct proto sctpv6_prot; 587extern struct proto sctpv6_prot;
588extern struct proc_dir_entry *proc_net_sctp;
589void sctp_put_port(struct sock *sk); 588void sctp_put_port(struct sock *sk);
590 589
591extern struct idr sctp_assocs_id; 590extern struct idr sctp_assocs_id;