Pavel Emelyanov | 852566f5 | 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; |
| 17 | #endif |
Pavel Emelyanov | 852566f5 | 2008-07-18 04:01:24 -0700 | [diff] [blame] | 18 | }; |
| 19 | |
| 20 | #endif |