From owner-svn-src-head@FreeBSD.ORG Sat Oct 18 15:55:16 2008 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AC241065686; Sat, 18 Oct 2008 15:55:16 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 49DF08FC1D; Sat, 18 Oct 2008 15:55:16 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id m9IFtG8e020566; Sat, 18 Oct 2008 15:55:16 GMT (envelope-from rrs@svn.freebsd.org) Received: (from rrs@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id m9IFtGKG020564; Sat, 18 Oct 2008 15:55:16 GMT (envelope-from rrs@svn.freebsd.org) Message-Id: <200810181555.m9IFtGKG020564@svn.freebsd.org> From: Randall Stewart Date: Sat, 18 Oct 2008 15:55:16 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r184029 - head/sys/netinet X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Oct 2008 15:55:16 -0000 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 */