Patchwork [01/10,net-next] include: net: netns: mib: Add proc_dir_entry for ipv4 per interface stats

login
register
mail settings
Submitter Igor Maravić
Date Dec. 16, 2011, 3:25 p.m.
Message ID <1324049163-11207-2-git-send-email-igorm@etf.rs>
Download mbox | patch
Permalink /patch/131833/
State Rejected
Delegated to: David Miller
Headers show

Comments

Igor Maravić - Dec. 16, 2011, 3:25 p.m.
From: Igor Maravic <igorm@etf.rs>

Introduces proc_dir_entry in which we will hold ipv4 per interface proc files

Signed-off-by: Igor Maravic <igorm@etf.rs>
---
 include/net/netns/mib.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/include/net/netns/mib.h b/include/net/netns/mib.h
index d542a4b..eaac2d1 100644
--- a/include/net/netns/mib.h
+++ b/include/net/netns/mib.h
@@ -4,6 +4,7 @@ 
 #include <net/snmp.h>
 
 struct netns_mib {
+	struct proc_dir_entry *proc_net_devsnmp;
 	DEFINE_SNMP_STAT(struct tcp_mib, tcp_statistics);
 	DEFINE_SNMP_STAT(struct ipstats_mib, ip_statistics);
 	DEFINE_SNMP_STAT(struct linux_mib, net_statistics);