summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRandy Dunlap <rddunlap@osdl.org>2003-06-03 07:56:35 -0700
committerDavid S. Miller <davem@nuts.ninka.net>2003-06-03 07:56:35 -0700
commite782d0145c707662d75947f681fe7365384c6ffa (patch)
tree5022e32891124d459b10e8d0ff6bfe204cddb4dd /include
parent24dd4bf76c54998fa88044ba3a6265c9dfcd966b (diff)
[NET]: add RFC references for Linux SNMP MIBs.
Diffstat (limited to 'include')
-rw-r--r--include/net/snmp.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/net/snmp.h b/include/net/snmp.h
index 2464d550d1f6..67e22b82e908 100644
--- a/include/net/snmp.h
+++ b/include/net/snmp.h
@@ -42,6 +42,11 @@
*/
+/*
+ * RFC 1213: MIB-II
+ * RFC 2011 (updates 1213): SNMPv2-MIB-IP
+ * RFC 2863: Interfaces Group MIB
+ */
struct ip_mib
{
unsigned long IpInReceives;
@@ -64,6 +69,9 @@ struct ip_mib
unsigned long __pad[0];
};
+/*
+ * RFC 2465: IPv6 MIB: General Group
+ */
struct ipv6_mib
{
unsigned long Ip6InReceives;
@@ -91,6 +99,10 @@ struct ipv6_mib
unsigned long __pad[0];
};
+/*
+ * RFC 1213: MIB-II ICMP Group
+ * RFC 2011 (updates 1213): SNMPv2 MIB for IP: ICMP group
+ */
struct icmp_mib
{
unsigned long IcmpInMsgs;
@@ -123,6 +135,9 @@ struct icmp_mib
unsigned long __pad[0];
};
+/*
+ * RFC 2466: ICMPv6-MIB
+ */
struct icmpv6_mib
{
unsigned long Icmp6InMsgs;
@@ -161,6 +176,10 @@ struct icmpv6_mib
unsigned long __pad[0];
};
+/*
+ * RFC 1213: MIB-II TCP group
+ * RFC 2012 (updates 1213): SNMPv2-MIB-TCP
+ */
struct tcp_mib
{
unsigned long TcpRtoAlgorithm;
@@ -180,6 +199,10 @@ struct tcp_mib
unsigned long __pad[0];
};
+/*
+ * RFC 1213: MIB-II UDP group
+ * RFC 2013 (updates 1213): SNMPv2-MIB-UDP
+ */
struct udp_mib
{
unsigned long UdpInDatagrams;