]> git.baikalelectronics.ru Git - kernel.git/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)
commit3678ee40546d2f7293f537cd9d237c9109c6cb0b
tree421ea678ea12d1e193b3bbf27fb1410355ba9b47
parent1876eefbe80afae587991ec95ffe75726da4dc05
[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