summaryrefslogtreecommitdiffstats
path: root/include/net/netns/sctp.h
diff options
context:
space:
mode:
authorEric W. Biederman2012-08-06 10:47:55 +0200
committerDavid S. Miller2012-08-15 08:30:36 +0200
commitb01a24078fa3fc4f0f447d1306ce5adc495ead86 (patch)
tree6949f590c81e2c1ce193b1bdaec68a60e9842879 /include/net/netns/sctp.h
parentsctp: Enable sctp in all network namespaces (diff)
downloadkernel-qcow2-linux-b01a24078fa3fc4f0f447d1306ce5adc495ead86.tar.gz
kernel-qcow2-linux-b01a24078fa3fc4f0f447d1306ce5adc495ead86.tar.xz
kernel-qcow2-linux-b01a24078fa3fc4f0f447d1306ce5adc495ead86.zip
sctp: Make the mib per network namespace
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Acked-by: Vlad Yasevich <vyasevich@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netns/sctp.h')
-rw-r--r--include/net/netns/sctp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/netns/sctp.h b/include/net/netns/sctp.h
index 9c20a82a77ec..06ccddf9566c 100644
--- a/include/net/netns/sctp.h
+++ b/include/net/netns/sctp.h
@@ -3,8 +3,11 @@
struct sock;
struct proc_dir_entry;
+struct sctp_mib;
struct netns_sctp {
+ DEFINE_SNMP_STAT(struct sctp_mib, sctp_statistics);
+
#ifdef CONFIG_PROC_FS
struct proc_dir_entry *proc_net_sctp;
#endif