mirror of https://github.com/mkerrisk/man-pages
rtnetlink.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
10c2b377e5
commit
288d42bc37
|
@ -91,7 +91,7 @@ is reserved for future use and should be always set to 0xFFFFFFFF.
|
|||
.TS
|
||||
tab(:);
|
||||
c s s
|
||||
l l l.
|
||||
lb l l.
|
||||
Routing attributes
|
||||
rta_type:Value type:Description
|
||||
_
|
||||
|
@ -158,7 +158,7 @@ for a permanent address set by the user and other undocumented flags.
|
|||
.TS
|
||||
tab(:);
|
||||
c s s
|
||||
l l l.
|
||||
lb l l.
|
||||
Attributes
|
||||
rta_type:Value type:Description
|
||||
_
|
||||
|
@ -209,7 +209,7 @@ struct rtmsg {
|
|||
.EE
|
||||
.TS
|
||||
tab(:);
|
||||
l l.
|
||||
lb l.
|
||||
rtm_type:Route type
|
||||
_
|
||||
RTN_UNSPEC:unknown route
|
||||
|
@ -233,7 +233,7 @@ T}
|
|||
.TE
|
||||
.TS
|
||||
tab(:);
|
||||
l l.
|
||||
lb l.
|
||||
rtm_protocol:Route origin
|
||||
_
|
||||
RTPROT_UNSPEC:unknown
|
||||
|
@ -258,7 +258,7 @@ for the routing daemon identifiers which are already assigned.
|
|||
is the distance to the destination:
|
||||
.TS
|
||||
tab(:);
|
||||
l l.
|
||||
lb l.
|
||||
RT_SCOPE_UNIVERSE:global route
|
||||
RT_SCOPE_SITE:T{
|
||||
interior route in the local autonomous system
|
||||
|
@ -279,7 +279,7 @@ The
|
|||
have the following meanings:
|
||||
.TS
|
||||
tab(:);
|
||||
l l.
|
||||
lb l.
|
||||
RTM_F_NOTIFY:T{
|
||||
if the route changes, notify the user via rtnetlink
|
||||
T}
|
||||
|
@ -291,7 +291,7 @@ RTM_F_EQUALIZE:a multipath equalizer (not yet implemented)
|
|||
specifies the routing table
|
||||
.TS
|
||||
tab(:);
|
||||
l l.
|
||||
lb l.
|
||||
RT_TABLE_UNSPEC:an unspecified routing table
|
||||
RT_TABLE_DEFAULT:the default table
|
||||
RT_TABLE_MAIN:the main table
|
||||
|
@ -307,7 +307,7 @@ and
|
|||
.TS
|
||||
tab(:);
|
||||
c s s
|
||||
l2 l2 l.
|
||||
lb2 l2 l.
|
||||
Attributes
|
||||
rta_type:Value type:Description
|
||||
_
|
||||
|
@ -361,7 +361,7 @@ routes (in seconds)
|
|||
T}
|
||||
.TE
|
||||
.IP
|
||||
.I RTA_MULTIPATH
|
||||
.B RTA_MULTIPATH
|
||||
contains several packed instances of
|
||||
.I struct rtnexthop
|
||||
together with nested RTAs
|
||||
|
@ -381,7 +381,13 @@ struct rtnexthop {
|
|||
.EE
|
||||
.in
|
||||
.IP
|
||||
There exist a bunch of RTNH_* macros similar to RTA_* and NLHDR_* macros
|
||||
There exist a bunch of
|
||||
.B RTNH_*
|
||||
macros similar to
|
||||
.B RTA_*
|
||||
and
|
||||
.B NLHDR_*
|
||||
macros
|
||||
useful to handle these structures.
|
||||
.IP
|
||||
.in +4n
|
||||
|
@ -398,17 +404,25 @@ is the address,
|
|||
.I rtvia_family
|
||||
is its family type.
|
||||
.IP
|
||||
.I RTA_PREF
|
||||
may contain values ICMPV6_ROUTER_PREF_LOW,
|
||||
ICMPV6_ROUTER_PREF_MEDIUM and
|
||||
ICMPV6_ROUTER_PREF_HIGH defined in <linux/icmpv6.h>
|
||||
.IP
|
||||
.I RTA_ENCAP_TYPE
|
||||
.B RTA_PREF
|
||||
may contain values
|
||||
LWTUNNEL_ENCAP_MPLS, LWTUNNEL_ENCAP_IP,
|
||||
LWTUNNEL_ENCAP_ILA, or LWTUNNEL_ENCAP_IP6
|
||||
defined in <linux/lwtunnel.h>.
|
||||
.sp 1
|
||||
.BR ICMPV6_ROUTER_PREF_LOW ,
|
||||
.BR ICMPV6_ROUTER_PREF_MEDIUM ,
|
||||
and
|
||||
.BR ICMPV6_ROUTER_PREF_HIGH
|
||||
defined incw
|
||||
.IR <linux/icmpv6.h> .
|
||||
.IP
|
||||
.B RTA_ENCAP_TYPE
|
||||
may contain values
|
||||
.BR LWTUNNEL_ENCAP_MPLS ,
|
||||
.BR LWTUNNEL_ENCAP_IP ,
|
||||
.BR LWTUNNEL_ENCAP_ILA ,
|
||||
or
|
||||
.BR LWTUNNEL_ENCAP_IP6
|
||||
defined in
|
||||
.IR <linux/lwtunnel.h> .
|
||||
.IP
|
||||
.B Fill these values in!
|
||||
.TP
|
||||
.BR RTM_NEWNEIGH ", " RTM_DELNEIGH ", " RTM_GETNEIGH
|
||||
|
@ -439,7 +453,7 @@ struct nda_cacheinfo {
|
|||
is a bit mask of the following states:
|
||||
.TS
|
||||
tab(:);
|
||||
l l.
|
||||
lb l.
|
||||
NUD_INCOMPLETE:a currently resolving cache entry
|
||||
NUD_REACHABLE:a confirmed working cache entry
|
||||
NUD_STALE:an expired cache entry
|
||||
|
@ -455,7 +469,7 @@ Valid
|
|||
are:
|
||||
.TS
|
||||
tab(:);
|
||||
l l.
|
||||
lb l.
|
||||
NTF_PROXY:a proxy arp entry
|
||||
NTF_ROUTER:an IPv6 router
|
||||
.TE
|
||||
|
@ -469,7 +483,7 @@ struct has the following meanings for the
|
|||
field:
|
||||
.TS
|
||||
tab(:);
|
||||
l l.
|
||||
lb l.
|
||||
NDA_UNSPEC:unknown type
|
||||
NDA_DST:a neighbor cache n/w layer destination address
|
||||
NDA_LLADDR:a neighbor cache link layer address
|
||||
|
@ -482,7 +496,7 @@ field is
|
|||
.BR NDA_CACHEINFO ,
|
||||
then a
|
||||
.I struct nda_cacheinfo
|
||||
header follows
|
||||
header follows.
|
||||
.TP
|
||||
.BR RTM_NEWRULE ", " RTM_DELRULE ", " RTM_GETRULE
|
||||
Add, delete, or retrieve a routing rule.
|
||||
|
@ -508,7 +522,7 @@ struct tcmsg {
|
|||
.TS
|
||||
tab(:);
|
||||
c s s
|
||||
l2 l2 l.
|
||||
lb2 l2 l.
|
||||
Attributes
|
||||
rta_type:Value type:Description
|
||||
_
|
||||
|
|
Loading…
Reference in New Issue