Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/route Complete the routing argument table by including ...



details:   https://anonhg.NetBSD.org/src/rev/2f19316b6f9f
branches:  trunk
changeset: 804824:2f19316b6f9f
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Dec 01 20:30:27 2014 +0000

description:
Complete the routing argument table by including the ID's used in the routing
display.

diffstat:

 sbin/route/route.8 |  49 ++++++++++++++++++++++++++++---------------------
 1 files changed, 28 insertions(+), 21 deletions(-)

diffs (71 lines):

diff -r 0f6b396fb0ec -r 2f19316b6f9f sbin/route/route.8
--- a/sbin/route/route.8        Mon Dec 01 19:46:29 2014 +0000
+++ b/sbin/route/route.8        Mon Dec 01 20:30:27 2014 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: route.8,v 1.52 2014/11/12 03:34:08 christos Exp $
+.\"    $NetBSD: route.8,v 1.53 2014/12/01 20:30:27 christos Exp $
 .\"
 .\" Copyright (c) 1983, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)route.8    8.4 (Berkeley) 6/1/94
 .\"
-.Dd November 11, 2014
+.Dd December 1, 2014
 .Dt ROUTE 8
 .Os
 .Sh NAME
@@ -286,26 +286,33 @@
 .Pp
 Routes have associated flags which influence operation of the protocols
 when sending to destinations matched by the routes.
-These flags may be set (or sometimes cleared)
+These flags are displayed using the following ID characters in the routing
+display and may be set (or sometimes cleared)
 by indicating the following corresponding modifiers:
-.Bd -literal
--cloning      RTF_CLONING    - generates a new route on use
--nocloning   ~RTF_CLONING    - stop generating new routes on use
--cloned       RTF_CLONED     - cloned route generated by RTF_CLONING
--nocloned    ~RTF_CLONED     - prevent removal with RTF_CLONING parent
--xresolve     RTF_XRESOLVE   - emit mesg on use (for external lookup)
--iface       ~RTF_GATEWAY    - destination is directly reachable
--static       RTF_STATIC     - manually added route
--nostatic    ~RTF_STATIC     - pretend route added by kernel or daemon
--reject       RTF_REJECT     - emit an ICMP unreachable when matched
--noreject    ~RTF_REJECT     - clear reject flag
--blackhole    RTF_BLACKHOLE  - silently discard pkts (during updates)
--noblackhole ~RTF_BLACKHOLE  - clear blackhole flag
--proto1       RTF_PROTO1     - set protocol specific routing flag #1
--proto2       RTF_PROTO2     - set protocol specific routing flag #2
--llinfo       RTF_LLINFO     - validly translates proto addr to link addr
--proxy        RTF_ANNOUNCE   - make entry a link level proxy
-.Ed
+.Bl -column "ID" "xnoblackhole" "xRTF_BLACKHOLE" "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
+.It Sy "ID" Ta Sy "Modifier" Ta Sy " Flag Bit" Ta Sy "Description"
+.It Li " " Ta -iface Ta ~RTF_GATEWAY Ta destination is directly reachable
+.It Li 1 Ta -proto1 Ta " RTF_PROTO1" Ta set protocol specific flag #1
+.It Li 2 Ta -proto2 Ta " RTF_PROTO2" Ta set protocol specific flag #2
+.It Li B Ta -blackhole Ta " RTF_BLACKHOLE" Ta discard pkts (during updates)
+.It Li " " Ta -noblackhole Ta ~RTF_BLACKHOLE Ta clear blackhole flag
+.It Li C Ta -cloning Ta " RTF_CLONING" Ta  generates a new route on use
+.It Li " " Ta -nocloning Ta ~RTF_CLONING Ta stop generating new routes on use
+.It Li c Ta -cloned Ta " RTF_CLONED" Ta route generated by RTF_CLONING
+.It Li " " Ta -nocloned Ta ~RTF_CLONED Ta deny removal with RTF_CLONING
+.It Li D Ta "" Ta " RTF_DYNAMIC" Ta created dynamically (redirect)
+.It Li G Ta "" Ta " RTF_GATEWAY" Ta forwarded to dest by intermediary
+.It Li H Ta "" Ta " RTF_HOST" Ta host entry (net otherwise)
+.It Li L Ta -llinfo Ta " RTF_LLINFO" Ta translate proto to link addr
+.It Li M Ta "" Ta " RTF_MODIFIED" Ta modified dynamically (redirect)
+.It Li p Ta -proxy Ta " RTF_ANNOUNCE" Ta make entry a link level proxy
+.It Li R Ta -reject Ta " RTF_REJECT" Ta send ICMP unreachable on match
+.It Li " " Ta -noreject Ta ~RTF_REJECT Ta clear reject flag
+.It Li S Ta -static Ta " RTF_STATIC" Ta manually added route
+.It Li " " Ta -nostatic Ta ~RTF_STATIC Ta pretend route added automatically
+.It Li U Ta "" Ta " RTF_UP" Ta route usable
+.It Li X Ta -xresolve Ta " RTF_XRESOLVE" Ta emit mesg on use (for ext lookup)
+.El
 .Pp
 The optional modifiers
 .Fl rtt ,



Home | Main Index | Thread Index | Old Index