Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
include
net
netns
mib.h
Go to the documentation of this file.
1
#ifndef __NETNS_MIB_H__
2
#define __NETNS_MIB_H__
3
4
#include <
net/snmp.h
>
5
6
struct
netns_mib
{
7
DEFINE_SNMP_STAT
(
struct
tcp_mib
, tcp_statistics);
8
DEFINE_SNMP_STAT
(
struct
ipstats_mib
, ip_statistics);
9
DEFINE_SNMP_STAT
(
struct
linux_mib
, net_statistics);
10
DEFINE_SNMP_STAT
(
struct
udp_mib
, udp_statistics);
11
DEFINE_SNMP_STAT
(
struct
udp_mib
, udplite_statistics);
12
DEFINE_SNMP_STAT
(
struct
icmp_mib
, icmp_statistics);
13
DEFINE_SNMP_STAT_ATOMIC
(
struct
icmpmsg_mib
, icmpmsg_statistics);
14
15
#if IS_ENABLED(CONFIG_IPV6)
16
struct
proc_dir_entry
*proc_net_devsnmp6;
17
DEFINE_SNMP_STAT
(
struct
udp_mib
, udp_stats_in6);
18
DEFINE_SNMP_STAT
(
struct
udp_mib
, udplite_stats_in6);
19
DEFINE_SNMP_STAT
(
struct
ipstats_mib
, ipv6_statistics);
20
DEFINE_SNMP_STAT
(
struct
icmpv6_mib
, icmpv6_statistics);
21
DEFINE_SNMP_STAT_ATOMIC
(
struct
icmpv6msg_mib
, icmpv6msg_statistics);
22
#endif
23
#ifdef CONFIG_XFRM_STATISTICS
24
DEFINE_SNMP_STAT
(
struct
linux_xfrm_mib
, xfrm_statistics);
25
#endif
26
};
27
28
#endif
Generated on Thu Jan 10 2013 14:32:27 for Linux Kernel by
1.8.2