snmp: add missing counters for RFC 4293
authorNeil Horman <nhorman@tuxdriver.com>
Mon, 27 Apr 2009 09:45:02 +0000 (02:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Apr 2009 09:45:02 +0000 (02:45 -0700)
commitedf391ff17232f097d72441c9ad467bcb3b5db18
tree3d1566e92aff168be842f6033695d234b6597180
parent06bd12c3b861f8ca9e1215428b19dc0026c6268f
snmp: add missing counters for RFC 4293

The IP MIB (RFC 4293) defines stats for InOctets, OutOctets, InMcastOctets and
OutMcastOctets:
http://tools.ietf.org/html/rfc4293
But it seems we don't track those in any way that easy to separate from other
protocols.  This patch adds those missing counters to the stats file. Tested
successfully by me

With help from Eric Dumazet.

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
13 files changed:
include/linux/snmp.h
include/net/ip.h
include/net/ipv6.h
include/net/snmp.h
net/ipv4/ip_input.c
net/ipv4/ip_output.c
net/ipv4/proc.c
net/ipv6/ip6_input.c
net/ipv6/ip6_output.c
net/ipv6/mcast.c
net/ipv6/ndisc.c
net/ipv6/proc.c
net/ipv6/raw.c