summaryrefslogtreecommitdiffstats
path: root/man7/netlink.7
diff options
context:
space:
mode:
Diffstat (limited to 'man7/netlink.7')
-rw-r--r--man7/netlink.732
1 files changed, 16 insertions, 16 deletions
diff --git a/man7/netlink.7 b/man7/netlink.7
index 4198bf157..70fd9c309 100644
--- a/man7/netlink.7
+++ b/man7/netlink.7
@@ -46,7 +46,7 @@ Receives routing and link updates and may be used to modify the routing
tables (both IPv4 and IPv6), IP addresses, link parameters,
neighbor setups, queueing disciplines, traffic classes, and
packet classifiers (see
-.BR rtnetlink (7)).
+.MR rtnetlink 7 ).
.TP
.BR NETLINK_W1 " (Linux 2.6.13 to Linux 2.16.17)"
Messages from 1-wire subsystem.
@@ -70,7 +70,7 @@ was removed in Linux 3.5.
.\" commit 7f1fb60c4fc9fb29fbb406ac8c4cfb4e59e168d6
Query information about sockets of various protocol families from the kernel
(see
-.BR sock_diag (7)).
+.MR sock_diag 7 ).
.TP
.BR NETLINK_INET_DIAG " (since Linux 2.6.14)"
An obsolete synonym for
@@ -152,7 +152,7 @@ The byte stream should be accessed only with the standard
.B NLMSG_*
macros.
See
-.BR netlink (3)
+.MR netlink 3
for further information.
.P
In multipart messages (multiple
@@ -215,7 +215,7 @@ struct nlmsgerr {
.P
A netlink family usually specifies more message types, see the
appropriate manual pages for that, for example,
-.BR rtnetlink (7)
+.MR rtnetlink 7
for
.BR NETLINK_ROUTE .
.TS
@@ -334,7 +334,7 @@ no longer have the same view of kernel state.
It is up to the application to detect when this happens (via the
.B ENOBUFS
error returned by
-.BR recvmsg (2))
+.MR recvmsg 2 )
and resynchronize.
.SS Address formats
The
@@ -377,7 +377,7 @@ to a netlink socket.
If the application sets
.I nl_pid
before calling
-.BR bind (2),
+.MR bind 2 ,
then it is up to the application to make sure that
.I nl_pid
is unique.
@@ -391,7 +391,7 @@ to every netlink socket that the process subsequently creates.
is a bit mask with every bit representing a netlink group number.
Each netlink family has a set of 32 multicast groups.
When
-.BR bind (2)
+.MR bind 2
is called on the socket, the
.I nl_groups
field in the
@@ -402,9 +402,9 @@ will be received.
A socket may multicast messages to any of the multicast groups by setting
.I nl_groups
to a bit mask of the groups it wishes to send to when it calls
-.BR sendmsg (2)
+.MR sendmsg 2
or does a
-.BR connect (2).
+.MR connect 2 .
Only processes with an effective UID of 0 or the
.B CAP_NET_ADMIN
capability may send or listen to a netlink multicast group.
@@ -425,9 +425,9 @@ groups allow other users to receive messages.
No groups allow other users to send messages.
.SS Socket options
To set or get a netlink socket option, call
-.BR getsockopt (2)
+.MR getsockopt 2
to read or
-.BR setsockopt (2)
+.MR setsockopt 2
to write the option with the option level argument set to
.BR SOL_NETLINK .
Unless otherwise noted,
@@ -594,11 +594,11 @@ for (nh = (struct nlmsghdr *) buf; NLMSG_OK (nh, len);
.EE
.in
.SH SEE ALSO
-.BR cmsg (3),
-.BR netlink (3),
-.BR capabilities (7),
-.BR rtnetlink (7),
-.BR sock_diag (7)
+.MR cmsg 3 ,
+.MR netlink 3 ,
+.MR capabilities 7 ,
+.MR rtnetlink 7 ,
+.MR sock_diag 7
.P
.UR ftp://ftp.inr.ac.ru\:/ip\-routing\:/iproute2*
information about libnetlink