Commit e782d014 authored by Randy Dunlap's avatar Randy Dunlap Committed by David S. Miller

[NET]: add RFC references for Linux SNMP MIBs.

parent 24dd4bf7
...@@ -42,6 +42,11 @@ ...@@ -42,6 +42,11 @@
*/ */
/*
* RFC 1213: MIB-II
* RFC 2011 (updates 1213): SNMPv2-MIB-IP
* RFC 2863: Interfaces Group MIB
*/
struct ip_mib struct ip_mib
{ {
unsigned long IpInReceives; unsigned long IpInReceives;
...@@ -64,6 +69,9 @@ struct ip_mib ...@@ -64,6 +69,9 @@ struct ip_mib
unsigned long __pad[0]; unsigned long __pad[0];
}; };
/*
* RFC 2465: IPv6 MIB: General Group
*/
struct ipv6_mib struct ipv6_mib
{ {
unsigned long Ip6InReceives; unsigned long Ip6InReceives;
...@@ -91,6 +99,10 @@ struct ipv6_mib ...@@ -91,6 +99,10 @@ struct ipv6_mib
unsigned long __pad[0]; unsigned long __pad[0];
}; };
/*
* RFC 1213: MIB-II ICMP Group
* RFC 2011 (updates 1213): SNMPv2 MIB for IP: ICMP group
*/
struct icmp_mib struct icmp_mib
{ {
unsigned long IcmpInMsgs; unsigned long IcmpInMsgs;
...@@ -123,6 +135,9 @@ struct icmp_mib ...@@ -123,6 +135,9 @@ struct icmp_mib
unsigned long __pad[0]; unsigned long __pad[0];
}; };
/*
* RFC 2466: ICMPv6-MIB
*/
struct icmpv6_mib struct icmpv6_mib
{ {
unsigned long Icmp6InMsgs; unsigned long Icmp6InMsgs;
...@@ -161,6 +176,10 @@ struct icmpv6_mib ...@@ -161,6 +176,10 @@ struct icmpv6_mib
unsigned long __pad[0]; unsigned long __pad[0];
}; };
/*
* RFC 1213: MIB-II TCP group
* RFC 2012 (updates 1213): SNMPv2-MIB-TCP
*/
struct tcp_mib struct tcp_mib
{ {
unsigned long TcpRtoAlgorithm; unsigned long TcpRtoAlgorithm;
...@@ -180,6 +199,10 @@ struct tcp_mib ...@@ -180,6 +199,10 @@ struct tcp_mib
unsigned long __pad[0]; unsigned long __pad[0];
}; };
/*
* RFC 1213: MIB-II UDP group
* RFC 2013 (updates 1213): SNMPv2-MIB-UDP
*/
struct udp_mib struct udp_mib
{ {
unsigned long UdpInDatagrams; unsigned long UdpInDatagrams;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment