On Thu, Feb 04, 2021 at 12:30:17PM +0100, Alexander Bluhm wrote:
> Hi,
> 
> I always forget the name of trpt(8).  It should be refereced in the
> SO_DEBUG section of getsockopt(2).
> 
> ok?

Yes please. Also should we export the tcp_debug buffer via sysctl so that
trpt can run without kern.allowkmem?

> 
> Index: lib/libc/sys/getsockopt.2
> ===================================================================
> RCS file: /data/mirror/openbsd/cvs/src/lib/libc/sys/getsockopt.2,v
> retrieving revision 1.56
> diff -u -p -r1.56 getsockopt.2
> --- lib/libc/sys/getsockopt.2 22 Jul 2019 15:34:07 -0000      1.56
> +++ lib/libc/sys/getsockopt.2 4 Feb 2021 10:52:16 -0000
> @@ -182,6 +182,8 @@ get the protocol of the socket (get only
>  .Pp
>  .Dv SO_DEBUG
>  enables debugging in the underlying protocol modules.
> +Transliterate the protocol trace with
> +.Xr trpt 8 .
>  .Dv SO_REUSEADDR
>  indicates that the rules used in validating addresses supplied in a
>  .Xr bind 2
> 

-- 
:wq Claudio

Reply via email to