Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Oct 2008 15:55:16 +0000 (UTC)
From:      Randall Stewart <rrs@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r184029 - head/sys/netinet
Message-ID:  <200810181555.m9IFtGKG020564@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rrs
Date: Sat Oct 18 15:55:15 2008
New Revision: 184029
URL: http://svn.freebsd.org/changeset/base/184029

Log:
  - Peers rwnd is now available for the MIB.
  Obtained from:	Michael Tuexen

Modified:
  head/sys/netinet/sctp_sysctl.c
  head/sys/netinet/sctp_uio.h

Modified: head/sys/netinet/sctp_sysctl.c
==============================================================================
--- head/sys/netinet/sctp_sysctl.c	Sat Oct 18 15:54:25 2008	(r184028)
+++ head/sys/netinet/sctp_sysctl.c	Sat Oct 18 15:55:15 2008	(r184029)
@@ -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();

Modified: head/sys/netinet/sctp_uio.h
==============================================================================
--- head/sys/netinet/sctp_uio.h	Sat Oct 18 15:54:25 2008	(r184028)
+++ head/sys/netinet/sctp_uio.h	Sat Oct 18 15:55:15 2008	(r184029)
@@ -989,6 +989,7 @@ struct xsctp_tcb {
 	uint32_t cumulative_tsn;
 	uint32_t cumulative_tsn_ack;
 	uint32_t mtu;
+	uint32_t peers_rwnd;
 	uint32_t refcnt;
 	uint16_t local_port;	/* sctpAssocEntry 3   */
 	uint16_t remote_port;	/* sctpAssocEntry 4   */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810181555.m9IFtGKG020564>