Date: Sat, 16 Jan 2016 11:19:08 +0000 (UTC) From: Michael Tuexen <tuexen@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r294139 - stable/10/sys/netinet Message-ID: <201601161119.u0GBJ8mW030685@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tuexen Date: Sat Jan 16 11:19:08 2016 New Revision: 294139 URL: https://svnweb.freebsd.org/changeset/base/294139 Log: MFC r285237: Export the ssthresh value per SCTP path via the sysctl interface. Modified: stable/10/sys/netinet/sctp_sysctl.c stable/10/sys/netinet/sctp_uio.h Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/netinet/sctp_sysctl.c ============================================================================== --- stable/10/sys/netinet/sctp_sysctl.c Sat Jan 16 10:12:50 2016 (r294138) +++ stable/10/sys/netinet/sctp_sysctl.c Sat Jan 16 11:19:08 2016 (r294139) @@ -511,6 +511,7 @@ sctp_sysctl_handle_assoclist(SYSCTL_HAND xraddr.mtu = net->mtu; xraddr.rtt = net->rtt / 1000; xraddr.heartbeat_interval = net->heart_beat_delay; + xraddr.ssthresh = net->ssthresh; xraddr.start_time.tv_sec = (uint32_t) net->start_time.tv_sec; xraddr.start_time.tv_usec = (uint32_t) net->start_time.tv_usec; SCTP_INP_RUNLOCK(inp); Modified: stable/10/sys/netinet/sctp_uio.h ============================================================================== --- stable/10/sys/netinet/sctp_uio.h Sat Jan 16 10:12:50 2016 (r294138) +++ stable/10/sys/netinet/sctp_uio.h Sat Jan 16 11:19:08 2016 (r294139) @@ -1229,7 +1229,8 @@ struct xsctp_raddr { struct sctp_timeval start_time; /* sctpAssocLocalRemEntry 8 */ uint32_t rtt; uint32_t heartbeat_interval; - uint32_t extra_padding[31]; /* future */ + uint32_t ssthresh; + uint32_t extra_padding[30]; /* future */ }; #define SCTP_MAX_LOGGING_SIZE 30000
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601161119.u0GBJ8mW030685>