blob: 0b44112e2366e535a8d6ab7a8fcc726f4aad8de6 [file] [log] [blame]
Pavel Emelyanov852566f2008-07-18 04:01:24 -07001#ifndef __NETNS_MIB_H__
2#define __NETNS_MIB_H__
3
4#include <net/snmp.h>
5
6struct netns_mib {
Pavel Emelyanov57ef42d2008-07-18 04:02:08 -07007 DEFINE_SNMP_STAT(struct tcp_mib, tcp_statistics);
Pavel Emelyanova20f5792008-07-18 04:02:42 -07008 DEFINE_SNMP_STAT(struct ipstats_mib, ip_statistics);
Pavel Emelyanov61a7e262008-07-18 04:03:08 -07009 DEFINE_SNMP_STAT(struct linux_mib, net_statistics);
Pavel Emelyanov2f275f92008-07-18 04:03:27 -070010 DEFINE_SNMP_STAT(struct udp_mib, udp_statistics);
Pavel Emelyanov386019d2008-07-18 04:03:45 -070011 DEFINE_SNMP_STAT(struct udp_mib, udplite_statistics);
Pavel Emelyanovb60538a2008-07-18 04:04:02 -070012 DEFINE_SNMP_STAT(struct icmp_mib, icmp_statistics);
Pavel Emelyanov923c6582008-07-18 04:04:22 -070013 DEFINE_SNMP_STAT(struct icmpmsg_mib, icmpmsg_statistics);
Denis V. Lunev835bcc02008-10-07 14:45:55 -070014
15#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
16 struct proc_dir_entry *proc_net_devsnmp6;
Denis V. Lunev0c7ed672008-10-07 14:49:36 -070017 DEFINE_SNMP_STAT(struct udp_mib, udp_stats_in6);
Denis V. Lunevbe713a42008-10-07 14:50:06 -070018 DEFINE_SNMP_STAT(struct udp_mib, udplite_stats_in6);
Denis V. Lunev9261e532008-10-08 10:36:03 -070019 DEFINE_SNMP_STAT(struct ipstats_mib, ipv6_statistics);
20 DEFINE_SNMP_STAT(struct icmpv6_mib, icmpv6_statistics);
21 DEFINE_SNMP_STAT(struct icmpv6msg_mib, icmpv6msg_statistics);
Denis V. Lunev835bcc02008-10-07 14:45:55 -070022#endif
Alexey Dobriyan59c99402008-11-25 17:59:52 -080023#ifdef CONFIG_XFRM_STATISTICS
24 DEFINE_SNMP_STAT(struct linux_xfrm_mib, xfrm_statistics);
25#endif
Pavel Emelyanov852566f2008-07-18 04:01:24 -070026};
27
28#endif