summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2021-02-04 18:51:01 +0000
committerbluhm <bluhm@openbsd.org>2021-02-04 18:51:01 +0000
commit25c653a31002f33b0f9f406fd0ae4377b1a9959a (patch)
treee4e1cd56399b093632f23a0509c389217885c22e /lib/libc
parentImplement the nc(1) -D socket debug option also in tcpbench(1). (diff)
downloadwireguard-openbsd-25c653a31002f33b0f9f406fd0ae4377b1a9959a.tar.xz
wireguard-openbsd-25c653a31002f33b0f9f406fd0ae4377b1a9959a.zip
Referece trpt(8) from the SO_DEBUG section of getsockopt(2).
OK claudio@ visa@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/getsockopt.26
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/sys/getsockopt.2 b/lib/libc/sys/getsockopt.2
index 39bcb8026f8..5ffe9c94ffc 100644
--- a/lib/libc/sys/getsockopt.2
+++ b/lib/libc/sys/getsockopt.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getsockopt.2,v 1.56 2019/07/22 15:34:07 robert Exp $
+.\" $OpenBSD: getsockopt.2,v 1.57 2021/02/04 18:51:01 bluhm Exp $
.\" $NetBSD: getsockopt.2,v 1.7 1995/02/27 12:33:29 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)getsockopt.2 8.3 (Berkeley) 4/19/94
.\"
-.Dd $Mdocdate: July 22 2019 $
+.Dd $Mdocdate: February 4 2021 $
.Dt GETSOCKOPT 2
.Os
.Sh NAME
@@ -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