Pavel Emelyanov | 852566f | 2008-07-18 04:01:24 -0700 | [diff] [blame] | 1 | #ifndef __NETNS_MIB_H__ |
| 2 | #define __NETNS_MIB_H__ |
| 3 | |
| 4 | #include <net/snmp.h> |
| 5 | |
| 6 | struct netns_mib { |
Pavel Emelyanov | 57ef42d | 2008-07-18 04:02:08 -0700 | [diff] [blame] | 7 | DEFINE_SNMP_STAT(struct tcp_mib, tcp_statistics); |
Pavel Emelyanov | a20f579 | 2008-07-18 04:02:42 -0700 | [diff] [blame] | 8 | DEFINE_SNMP_STAT(struct ipstats_mib, ip_statistics); |
Pavel Emelyanov | 61a7e26 | 2008-07-18 04:03:08 -0700 | [diff] [blame] | 9 | DEFINE_SNMP_STAT(struct linux_mib, net_statistics); |
Pavel Emelyanov | 2f275f9 | 2008-07-18 04:03:27 -0700 | [diff] [blame] | 10 | DEFINE_SNMP_STAT(struct udp_mib, udp_statistics); |
Pavel Emelyanov | 386019d | 2008-07-18 04:03:45 -0700 | [diff] [blame] | 11 | DEFINE_SNMP_STAT(struct udp_mib, udplite_statistics); |
Pavel Emelyanov | b60538a | 2008-07-18 04:04:02 -0700 | [diff] [blame] | 12 | DEFINE_SNMP_STAT(struct icmp_mib, icmp_statistics); |
Pavel Emelyanov | 923c658 | 2008-07-18 04:04:22 -0700 | [diff] [blame] | 13 | DEFINE_SNMP_STAT(struct icmpmsg_mib, icmpmsg_statistics); |
Denis V. Lunev | 835bcc0 | 2008-10-07 14:45:55 -0700 | [diff] [blame] | 14 | |
| 15 | #if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE) |
| 16 | struct proc_dir_entry *proc_net_devsnmp6; |
Denis V. Lunev | 0c7ed67 | 2008-10-07 14:49:36 -0700 | [diff] [blame] | 17 | DEFINE_SNMP_STAT(struct udp_mib, udp_stats_in6); |
Denis V. Lunev | be713a4 | 2008-10-07 14:50:06 -0700 | [diff] [blame] | 18 | DEFINE_SNMP_STAT(struct udp_mib, udplite_stats_in6); |
Denis V. Lunev | 9261e53 | 2008-10-08 10:36:03 -0700 | [diff] [blame] | 19 | 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. Lunev | 835bcc0 | 2008-10-07 14:45:55 -0700 | [diff] [blame] | 22 | #endif |
Alexey Dobriyan | 59c9940 | 2008-11-25 17:59:52 -0800 | [diff] [blame] | 23 | #ifdef CONFIG_XFRM_STATISTICS |
| 24 | DEFINE_SNMP_STAT(struct linux_xfrm_mib, xfrm_statistics); |
| 25 | #endif |
Pavel Emelyanov | 852566f | 2008-07-18 04:01:24 -0700 | [diff] [blame] | 26 | }; |
| 27 | |
| 28 | #endif |