mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-09 16:12:21 +00:00
[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>
This commit is contained in:
parent
72d3b2c970
commit
ac0b046272
8 changed files with 88 additions and 45 deletions
|
@ -100,12 +100,6 @@ struct udp_mib {
|
|||
unsigned long mibs[UDP_MIB_MAX];
|
||||
} __SNMP_MIB_ALIGN__;
|
||||
|
||||
/* SCTP */
|
||||
#define SCTP_MIB_MAX __SCTP_MIB_MAX
|
||||
struct sctp_mib {
|
||||
unsigned long mibs[SCTP_MIB_MAX];
|
||||
} __SNMP_MIB_ALIGN__;
|
||||
|
||||
/* Linux */
|
||||
#define LINUX_MIB_MAX __LINUX_MIB_MAX
|
||||
struct linux_mib {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue