aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2024-08-03 17:59:06 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2024-08-03 18:01:45 +0000
commit5c44e69d2f3d2404f39c552448173a9bd62bd651 (patch)
tree37add1315a1e50bae2b65f39b5e73f06e3d6dbaf
parent6502c60c22819b879542c423cb7393d448d00e59 (diff)
tcpsso: add example to man page
Describe how to switch the TCP stack on all endpoints in the LISTEN state. Reviewed by: concussious.bugzilla_runbox.com MFC after: 1 week Sponsored by: Netflix, Inc. Differential Revision: https://reviews.freebsd.org/D46218
-rw-r--r--usr.sbin/tcpsso/tcpsso.810
1 files changed, 8 insertions, 2 deletions
diff --git a/usr.sbin/tcpsso/tcpsso.8 b/usr.sbin/tcpsso/tcpsso.8
index 37968c8afa54..9bff621fc516 100644
--- a/usr.sbin/tcpsso/tcpsso.8
+++ b/usr.sbin/tcpsso/tcpsso.8
@@ -24,7 +24,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd January 14, 2024
+.Dd August 3, 2024
.Dt TCPSSO 8
.Os
.Sh NAME
@@ -229,11 +229,17 @@ Then, use the following command to enable Black Box Logging on it:
# tcpsso -i 435 TCP_LOG 4
.Ed
.Pp
-To switch all TCP endpoints from using the freebsd stack to the rack stack use:
+To switch all TCP endpoints from using the freebsd stack to the RACK stack use:
.Bd -literal -offset indent
# tcpsso -S freebsd TCP_FUNCTION_BLK rack
.Ed
.Pp
+All TCP endpoints in the LISTEN state can be switched to the RACK stack by
+using:
+.Bd -literal -offset indent
+# tcpsso -s LISTEN TCP_FUNCTION_BLK rack
+.Ed
+.Pp
The following command will set the congestion control module of all TCP
endpoints currently using cubic as its congestion control algorithm to the
congestion control algorithm newreno: