summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_uio.h
diff options
context:
space:
mode:
authorrrs <rrs@FreeBSD.org>2007-04-19 11:28:43 +0000
committerrrs <rrs@FreeBSD.org>2007-04-19 11:28:43 +0000
commite8a77bd9270dfbfa30aa44607f5f3ecb4e70ee3e (patch)
treed950582b945c3e6f66e506197c41a7fa14d07c72 /sys/netinet/sctp_uio.h
parent19613c2bfe0ba59b977ac06457e84b93cceb5045 (diff)
downloadFreeBSD-src-e8a77bd9270dfbfa30aa44607f5f3ecb4e70ee3e.zip
FreeBSD-src-e8a77bd9270dfbfa30aa44607f5f3ecb4e70ee3e.tar.gz
- More work on making send lock contention.
- Removed free-oqueue cache. - Fix counter for sq entries - Increased the amount of information retained on ASOC_TSN logging on the association. - Made it so with the ASOC_TSN logging on sending or recieving an abort we dump the log. - Went through and added invariant's around some panic's that needed them. - decrements went to atomic_subtact_int instead of add -1 - Removed residual count increment that threw off a strm oq count. - Tracks and complaints if we don't have a LAST fragment and clean up the sp structure. - Track a new stat that counts number of abandoned msgs that happen if you close without reading. - Fix lookup of frag point to be aware of a 0 assoc-id. Reviewed by: gnn
Diffstat (limited to 'sys/netinet/sctp_uio.h')
-rw-r--r--sys/netinet/sctp_uio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet/sctp_uio.h b/sys/netinet/sctp_uio.h
index 3efd7ed..263f417 100644
--- a/sys/netinet/sctp_uio.h
+++ b/sys/netinet/sctp_uio.h
@@ -899,6 +899,8 @@ struct sctpstat {
u_long sctps_read_peeks;/* Number of times recv was called with peek */
u_long sctps_cached_chk;/* Number of cached chunks used */
u_long sctps_cached_strmoq; /* Number of cached stream oq's used */
+ u_long sctps_left_abandon; /* Number of unread message abandonded
+ * by close */
};
#define SCTP_STAT_INCR(_x) SCTP_STAT_INCR_BY(_x,1)
OpenPOWER on IntegriCloud