summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_sysctl.c
diff options
context:
space:
mode:
authorrrs <rrs@FreeBSD.org>2008-10-18 15:55:15 +0000
committerrrs <rrs@FreeBSD.org>2008-10-18 15:55:15 +0000
commit51fdeb1baf97cc8981c99430c08d3338b0ef42ad (patch)
tree91f5e79a99f7f64113f125fad86358f93ba0a7ca /sys/netinet/sctp_sysctl.c
parente9f4afba29d4b3dc17be19889a0f097eb8d5b536 (diff)
downloadFreeBSD-src-51fdeb1baf97cc8981c99430c08d3338b0ef42ad.zip
FreeBSD-src-51fdeb1baf97cc8981c99430c08d3338b0ef42ad.tar.gz
- Peers rwnd is now available for the MIB.
Obtained from: Michael Tuexen
Diffstat (limited to 'sys/netinet/sctp_sysctl.c')
-rw-r--r--sys/netinet/sctp_sysctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/sctp_sysctl.c b/sys/netinet/sctp_sysctl.c
index dac2a91..30baae8 100644
--- a/sys/netinet/sctp_sysctl.c
+++ b/sys/netinet/sctp_sysctl.c
@@ -426,6 +426,7 @@ sctp_assoclist(SYSCTL_HANDLER_ARGS)
xstcb.cumulative_tsn = stcb->asoc.last_acked_seq;
xstcb.cumulative_tsn_ack = stcb->asoc.cumulative_tsn;
xstcb.mtu = stcb->asoc.smallest_mtu;
+ xstcb.peers_rwnd = stcb->asoc.peers_rwnd;
xstcb.refcnt = stcb->asoc.refcnt;
SCTP_INP_RUNLOCK(inp);
SCTP_INP_INFO_RUNLOCK();
OpenPOWER on IntegriCloud