summaryrefslogtreecommitdiff
path: root/usr.bin/netstat/netstat.1
diff options
context:
space:
mode:
authorkn <kn@cvs.openbsd.org>2021-01-02 16:10:31 +0000
committerkn <kn@cvs.openbsd.org>2021-01-02 16:10:31 +0000
commit12ab682798e3aabe998d8b3567f0196a65ea6a9c (patch)
treeca2dc3a12b361967ef2668865f070fc3792706c6 /usr.bin/netstat/netstat.1
parent87c9e7f296da0d633c12c737f910b13a2ebd51ff (diff)
Markup route flags such that apropos(1) finds them
netstat(1) is where the mapping between letters and flags is documented, but searching for them ("man -k any=RTF_" or "man -k -i any=blackhole") would only list route(4) and route(8). Markup preprocessor defines as such. OK schwarze
Diffstat (limited to 'usr.bin/netstat/netstat.1')
-rw-r--r--usr.bin/netstat/netstat.148
1 files changed, 24 insertions, 24 deletions
diff --git a/usr.bin/netstat/netstat.1 b/usr.bin/netstat/netstat.1
index c231f050ca8..4cb41a9f35d 100644
--- a/usr.bin/netstat/netstat.1
+++ b/usr.bin/netstat/netstat.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: netstat.1,v 1.90 2020/07/18 21:44:17 jmc Exp $
+.\" $OpenBSD: netstat.1,v 1.91 2021/01/02 16:10:30 kn Exp $
.\" $NetBSD: netstat.1,v 1.11 1995/10/03 21:42:43 thorpej Exp $
.\"
.\" Copyright (c) 1983, 1990, 1992, 1993
@@ -30,7 +30,7 @@
.\"
.\" from: @(#)netstat.1 8.8 (Berkeley) 4/18/94
.\"
-.Dd $Mdocdate: July 18 2020 $
+.Dd $Mdocdate: January 2 2021 $
.Dt NETSTAT 1
.Os
.Sh NAME
@@ -349,28 +349,28 @@ manual pages.
.Pp
The mapping between letters and flags is:
.Bl -column "1" "RTF_BLACKHOLE" "Protocol specific routing flag #1."
-.It 1 Ta RTF_PROTO1 Ta "Protocol specific routing flag #1."
-.It 2 Ta RTF_PROTO2 Ta "Protocol specific routing flag #2."
-.It 3 Ta RTF_PROTO3 Ta "Protocol specific routing flag #3."
-.It B Ta RTF_BLACKHOLE Ta "Just discard pkts (during updates)."
-.It b Ta RTF_BROADCAST Ta "Correspond to a local broadcast address."
-.It C Ta RTF_CLONING Ta "Generate new routes on use."
-.It c Ta RTF_CLONED Ta "Cloned routes (generated from RTF_CLONING)."
-.It D Ta RTF_DYNAMIC Ta "Created dynamically (by redirect)."
-.It d Ta RTF_DONE Ta "Completed (for routing messages only)."
-.It G Ta RTF_GATEWAY Ta "Destination requires forwarding by intermediary."
-.It H Ta RTF_HOST Ta "Host entry (net otherwise)."
-.It h Ta RTF_CACHED Ta "Referenced by gateway route."
-.It L Ta RTF_LLINFO Ta "Valid protocol to link address translation."
-.It l Ta RTF_LOCAL Ta "Correspond to a local address."
-.It M Ta RTF_MODIFIED Ta "Modified dynamically (by redirect)."
-.It m Ta RTF_MULTICAST Ta "Correspond to a multicast address."
-.It n Ta RTF_CONNECTED Ta "Interface route."
-.It P Ta RTF_MPATH Ta "Multipath route."
-.It R Ta RTF_REJECT Ta "Host or net unreachable."
-.It S Ta RTF_STATIC Ta "Manually added."
-.It T Ta RTF_MPLS Ta "MPLS route."
-.It U Ta RTF_UP Ta "Route usable."
+.It 1 Ta Dv RTF_PROTO1 Ta "Protocol specific routing flag #1."
+.It 2 Ta Dv RTF_PROTO2 Ta "Protocol specific routing flag #2."
+.It 3 Ta Dv RTF_PROTO3 Ta "Protocol specific routing flag #3."
+.It B Ta Dv RTF_BLACKHOLE Ta "Just discard pkts (during updates)."
+.It b Ta Dv RTF_BROADCAST Ta "Correspond to a local broadcast address."
+.It C Ta Dv RTF_CLONING Ta "Generate new routes on use."
+.It c Ta Dv RTF_CLONED Ta "Cloned routes (generated from RTF_CLONING)."
+.It D Ta Dv RTF_DYNAMIC Ta "Created dynamically (by redirect)."
+.It d Ta Dv RTF_DONE Ta "Completed (for routing messages only)."
+.It G Ta Dv RTF_GATEWAY Ta "Destination requires forwarding by intermediary."
+.It H Ta Dv RTF_HOST Ta "Host entry (net otherwise)."
+.It h Ta Dv RTF_CACHED Ta "Referenced by gateway route."
+.It L Ta Dv RTF_LLINFO Ta "Valid protocol to link address translation."
+.It l Ta Dv RTF_LOCAL Ta "Correspond to a local address."
+.It M Ta Dv RTF_MODIFIED Ta "Modified dynamically (by redirect)."
+.It m Ta Dv RTF_MULTICAST Ta "Correspond to a multicast address."
+.It n Ta Dv RTF_CONNECTED Ta "Interface route."
+.It P Ta Dv RTF_MPATH Ta "Multipath route."
+.It R Ta Dv RTF_REJECT Ta "Host or net unreachable."
+.It S Ta Dv RTF_STATIC Ta "Manually added."
+.It T Ta Dv RTF_MPLS Ta "MPLS route."
+.It U Ta Dv RTF_UP Ta "Route usable."
.El
.Pp
Direct routes are created for each interface attached to the local host;