git: c23c718ed637 - stable/14 - tcpsso: add example to man page

From: Michael Tuexen <tuexen_at_FreeBSD.org>
Date: Sat, 10 Aug 2024 10:21:27 UTC
The branch stable/14 has been updated by tuexen:

URL: https://cgit.FreeBSD.org/src/commit/?id=c23c718ed63763aabad0b5bef828fcd374d2c4d0

commit c23c718ed63763aabad0b5bef828fcd374d2c4d0
Author:     Michael Tuexen <tuexen@FreeBSD.org>
AuthorDate: 2024-08-03 17:59:06 +0000
Commit:     Michael Tuexen <tuexen@FreeBSD.org>
CommitDate: 2024-08-10 10:21:08 +0000

    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
    Sponsored by:           Netflix, Inc.
    Differential Revision:  https://reviews.freebsd.org/D46218
    
    (cherry picked from commit 5c44e69d2f3d2404f39c552448173a9bd62bd651)
---
 usr.sbin/tcpsso/tcpsso.8 | 10 ++++++++--
 1 file 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: