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   */
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to