]> err.no Git - linux-2.6/commit
[SCTP]: Extend /proc/net/sctp/snmp to provide more statistics.
authorSridhar Samudrala <sri@us.ibm.com>
Tue, 22 Aug 2006 07:15:33 +0000 (00:15 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 21:55:16 +0000 (14:55 -0700)
commitac0b04627269ff16c3c7ab854a65fe6780c6e3e5
tree421ea678ea12d1e193b3bbf27fb1410355ba9b47
parent72d3b2c970a2d5d2ccb1d1cab4fb76663c4f2e49
[SCTP]: Extend /proc/net/sctp/snmp to provide more statistics.

This patch adds more statistics info under /proc/net/sctp/snmp
that should be useful for debugging. The additional events that
are counted now include timer expirations, retransmits, packet
and data chunk discards.

The Data chunk discards include all the cases where a data chunk
is discarded including high tsn, bad stream, dup tsn and the most
useful one(out of receive buffer/rwnd).

Also moved the SCTP MIB data structures from the generic include
directories to include/sctp/sctp.h.

Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/snmp.h
include/net/sctp/sctp.h
include/net/snmp.h
net/sctp/input.c
net/sctp/inqueue.c
net/sctp/outqueue.c
net/sctp/proc.c
net/sctp/sm_statefuns.c