summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-07-01 00:31:19 +0400
committerDavid S. Miller <davem@davemloft.net>2010-07-01 00:31:19 +0400
commit4ce3c183fcade7f4b30a33dae90cd774c3d9e094 (patch)
tree84d5a130da50096fdbeb7fffea596dffe2cebd80 /virt
parentf3eb62d2cc7da7bea4b394dd06f6bc738aa284e7 (diff)
downloadlinux-4ce3c183fcade7f4b30a33dae90cd774c3d9e094.tar.xz
snmp: 64bit ipstats_mib for all arches
/proc/net/snmp and /proc/net/netstat expose SNMP counters. Width of these counters is either 32 or 64 bits, depending on the size of "unsigned long" in kernel. This means user program parsing these files must already be prepared to deal with 64bit values, regardless of user program being 32 or 64 bit. This patch introduces 64bit snmp values for IPSTAT mib, where some counters can wrap pretty fast if they are 32bit wide. # netstat -s|egrep "InOctets|OutOctets" InOctets: 244068329096 OutOctets: 244069348848 Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions