diff options
author | rrs <rrs@FreeBSD.org> | 2007-05-29 09:29:03 +0000 |
---|---|---|
committer | rrs <rrs@FreeBSD.org> | 2007-05-29 09:29:03 +0000 |
commit | f827c93ac67113093cd06e755372cf7cd9302d8f (patch) | |
tree | b0a3898608d9bf9a7a2b4c780e734bf27af057e1 /sys/netinet/sctp_uio.h | |
parent | 0cadc213d533d92acab0d770376baacbd16de8bf (diff) | |
download | FreeBSD-src-f827c93ac67113093cd06e755372cf7cd9302d8f.zip FreeBSD-src-f827c93ac67113093cd06e755372cf7cd9302d8f.tar.gz |
- Fixes so we won't try to start a timer when we
hold a wq lock for the iterator. Panda uses a
silly recursive lock they hold through the timer.
- Add poor mans wireshark compile option..
- Allocate and start using SCTP_M_XXX for all SCTP_MALLOC() calls.
- sysctl now will get back the refcnt for viewing by onlookers.
Reviewed by: gnn
Diffstat (limited to 'sys/netinet/sctp_uio.h')
-rw-r--r-- | sys/netinet/sctp_uio.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/netinet/sctp_uio.h b/sys/netinet/sctp_uio.h index 958cc3f..a7d8aed 100644 --- a/sys/netinet/sctp_uio.h +++ b/sys/netinet/sctp_uio.h @@ -897,6 +897,8 @@ struct sctpstat { * burst inflight to net */ u_long sctps_send_cwnd_avoid; /* Send cwnd full avoidance, already * max burst inflight to net */ + u_long sctps_fwdtsn_map_over; /* number of map array over-runs via + * fwd-tsn's */ }; #define SCTP_STAT_INCR(_x) SCTP_STAT_INCR_BY(_x,1) @@ -960,6 +962,7 @@ struct xsctp_tcb { uint32_t cumulative_tsn; uint32_t cumulative_tsn_ack; uint32_t mtu; + uint32_t refcnt; /* add more association specific data here */ }; |