aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/snmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/snmp.h')
-rw-r--r--include/net/snmp.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/net/snmp.h b/include/net/snmp.h
index 464970e39ec0..ea206bff0dc4 100644
--- a/include/net/snmp.h
+++ b/include/net/snmp.h
@@ -82,12 +82,23 @@ struct icmp_mib {
82 unsigned long mibs[ICMP_MIB_MAX]; 82 unsigned long mibs[ICMP_MIB_MAX];
83} __SNMP_MIB_ALIGN__; 83} __SNMP_MIB_ALIGN__;
84 84
85#define ICMPMSG_MIB_MAX __ICMPMSG_MIB_MAX
86struct icmpmsg_mib {
87 unsigned long mibs[ICMPMSG_MIB_MAX];
88} __SNMP_MIB_ALIGN__;
89
85/* ICMP6 (IPv6-ICMP) */ 90/* ICMP6 (IPv6-ICMP) */
86#define ICMP6_MIB_MAX __ICMP6_MIB_MAX 91#define ICMP6_MIB_MAX __ICMP6_MIB_MAX
87struct icmpv6_mib { 92struct icmpv6_mib {
88 unsigned long mibs[ICMP6_MIB_MAX]; 93 unsigned long mibs[ICMP6_MIB_MAX];
89} __SNMP_MIB_ALIGN__; 94} __SNMP_MIB_ALIGN__;
90 95
96#define ICMP6MSG_MIB_MAX __ICMP6MSG_MIB_MAX
97struct icmpv6msg_mib {
98 unsigned long mibs[ICMP6MSG_MIB_MAX];
99} __SNMP_MIB_ALIGN__;
100
101
91/* TCP */ 102/* TCP */
92#define TCP_MIB_MAX __TCP_MIB_MAX 103#define TCP_MIB_MAX __TCP_MIB_MAX
93struct tcp_mib { 104struct tcp_mib {