mirror of https://github.com/mkerrisk/man-pages
rtnetlink.7: Minor wording fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
6de73b14d8
commit
516ddeefbd
|
@ -26,12 +26,12 @@ Rtnetlink allows the kernel's routing tables to be read and altered.
|
|||
It is used within the kernel to communicate between
|
||||
various subsystems, though this usage is not documented here, and for
|
||||
communication with user-space programs.
|
||||
Network routes, ip addresses, link parameters, neighbor setups, queueing
|
||||
Network routes, IP addresses, link parameters, neighbor setups, queueing
|
||||
disciplines, traffic classes and packet classifiers may all be controlled
|
||||
through
|
||||
.B NETLINK_ROUTE
|
||||
sockets.
|
||||
It is based on netlink messages, see
|
||||
It is based on netlink messages; see
|
||||
.BR netlink (7)
|
||||
for more information.
|
||||
.\" FIXME ? all these macros could be moved to rtnetlink(3)
|
||||
|
@ -105,14 +105,14 @@ The value type for IFLA_STATS is \fIstruct net_device_stats\fP.
|
|||
.BR RTM_NEWADDR ", " RTM_DELADDR ", " RTM_GETADDR
|
||||
Add, remove or receive information about an IP address associated with
|
||||
an interface.
|
||||
In Linux 2.2 an interface can carry multiple IP addresses,
|
||||
In Linux 2.2, an interface can carry multiple IP addresses,
|
||||
this replaces the alias device concept in 2.0.
|
||||
In Linux 2.2 these messages
|
||||
In Linux 2.2, these messages
|
||||
support IPv4 and IPv6 addresses.
|
||||
They contain an
|
||||
.I ifaddrmsg
|
||||
structure, optionally followed by
|
||||
.I rtaddr
|
||||
.I rtattr
|
||||
routing attributes.
|
||||
|
||||
.nf
|
||||
|
@ -168,16 +168,16 @@ structure with an optional sequence of
|
|||
.I rtattr
|
||||
structures following.
|
||||
For
|
||||
.B RTM_GETROUTE
|
||||
.BR RTM_GETROUTE ,
|
||||
setting
|
||||
.I rtm_dst_len
|
||||
and
|
||||
.I rtm_src_len
|
||||
to 0 means you get all entries for the specified routing table.
|
||||
For the other fields except
|
||||
For the other fields, except
|
||||
.I rtm_table
|
||||
and
|
||||
.I rtm_protocol
|
||||
.IR rtm_protocol ,
|
||||
0 is the wildcard.
|
||||
|
||||
.nf
|
||||
|
|
Loading…
Reference in New Issue