summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2021-11-16 13:53:15 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2021-11-16 13:53:15 +0000
commit8b9d25de60073f9c62e61d873c3c57045f58f5c4 (patch)
tree9f646d0ec8c40934e7845dbfec5bb68c71d96b98 /share
parent5ae2c6a6fb0014f5c4d0d0131fea6b4c1927e0ff (diff)
To debug IPsec and tdb refcounting it is useful to have "show tdb"
and "show all tdbs" in ddb. tested by Hrvoje Popovski; OK mvs@
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/ddb.428
1 files changed, 26 insertions, 2 deletions
diff --git a/share/man/man4/ddb.4 b/share/man/man4/ddb.4
index 27cca031558..bb41f802c5b 100644
--- a/share/man/man4/ddb.4
+++ b/share/man/man4/ddb.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ddb.4,v 1.99 2020/10/26 18:53:20 deraadt Exp $
+.\" $OpenBSD: ddb.4,v 1.100 2021/11/16 13:53:14 bluhm Exp $
.\" $NetBSD: ddb.4,v 1.5 1994/11/30 16:22:09 jtc Exp $
.\"
.\" Mach Operating System
@@ -25,7 +25,7 @@
.\" any improvements or extensions that they make and grant Carnegie Mellon
.\" the rights to redistribute these changes.
.\"
-.Dd $Mdocdate: October 26 2020 $
+.Dd $Mdocdate: November 16 2021 $
.Dt DDB 4
.Os
.Sh NAME
@@ -812,6 +812,19 @@ as a struct
Nested structures and bit fields are not printed.
Character arrays are printed as bytes.
.\" --------------------
+.It Xo
+.Ic show tdb
+.Op Cm /f
+.Ar addr
+.Xc
+Prints the
+.Li struct tdb
+at
+.Ar addr .
+If the
+.Cm /f
+modifier is specified prints out all fields of this IPsec SA.
+.\" --------------------
.It Ic show uvmexp
Displays a selection of uvm counters and statistics.
.\" --------------------
@@ -941,6 +954,17 @@ See the
command for more information.
.El
.\" --------------------
+.It Ic show all tdbs Op Cm /f
+Display information about all IPsec SAs in the system.
+.Pp
+.Bl -tag -width foo -compact
+.It Cm /f
+For each tdb, print a more detailed output.
+See the
+.Ic show tdb
+command for more information.
+.El
+.\" --------------------
.It Ic show all vnodes Op Cm /f
Display information about all vnodes in the system.
.Pp