aboutsummaryrefslogtreecommitdiffstats
path: root/man7/netlink.7
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2021-01-06 23:16:03 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2021-01-07 00:05:48 +0100
commit0b174fe0087a52584cd72e43ca703bcff66749a1 (patch)
treebfcc45e6c14c7514d36cda8b78a9d7ef87b65ce3 /man7/netlink.7
parent30e3e116bb7709dde810a9f7d9e11e81876f02bc (diff)
downloadman-pages-0b174fe0087a52584cd72e43ca703bcff66749a1.tar.gz
clone.2, ioctl_tty.2, syslog.2, setlocale.3, stdio.3, console_codes.4, inode.7, namespaces.7, netlink.7, signal-safety.7, socket.7: Better table formatting
In particular, allow for rendering in widths different from (especially less than) 80 columns. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man7/netlink.7')
-rw-r--r--man7/netlink.755
1 files changed, 42 insertions, 13 deletions
diff --git a/man7/netlink.7 b/man7/netlink.7
index 324be83c04..2e05614a2d 100644
--- a/man7/netlink.7
+++ b/man7/netlink.7
@@ -205,39 +205,56 @@ appropriate manual pages for that, for example,
.BR rtnetlink (7)
for
.BR NETLINK_ROUTE .
+.nh
+.ad l
.TS
tab(:);
l s
-lB l.
+lB lx.
Standard flag bits in \fInlmsg_flags\fP
_
-NLM_F_REQUEST:Must be set on all request messages.
+NLM_F_REQUEST:T{
+Must be set on all request messages.
+T}
NLM_F_MULTI:T{
The message is part of a multipart message terminated by
.BR NLMSG_DONE .
T}
-NLM_F_ACK:Request for an acknowledgment on success.
-NLM_F_ECHO:Echo this request.
+NLM_F_ACK:T{
+Request for an acknowledgment on success.
+T}
+NLM_F_ECHO:T{
+Echo this request.
+T}
.TE
+.ad
+.hy
.\" No right adjustment for text blocks in tables
+.nh
+.ad l
.TS
tab(:);
l s
-lB l.
+lB lx.
Additional flag bits for GET requests
_
-NLM_F_ROOT:Return the complete table instead of a single entry.
+NLM_F_ROOT:T{
+Return the complete table instead of a single entry.
+T}
NLM_F_MATCH:T{
Return all entries matching criteria passed in message content.
Not implemented yet.
T}
-NLM_F_ATOMIC:Return an atomic snapshot of the table.
+NLM_F_ATOMIC:T{
+Return an atomic snapshot of the table.
+T}
NLM_F_DUMP:T{
Convenience macro; equivalent to
-.br
(NLM_F_ROOT|NLM_F_MATCH).
T}
.TE
+.ad
+.hy
.\" FIXME NLM_F_ATOMIC is not used anymore?
.PP
Note that
@@ -245,17 +262,29 @@ Note that
requires the
.B CAP_NET_ADMIN
capability or an effective UID of 0.
+.nh
+.ad l
.TS
tab(:);
l s
-lB l.
+lB lx.
Additional flag bits for NEW requests
_
-NLM_F_REPLACE:Replace existing matching object.
-NLM_F_EXCL:Don't replace if the object already exists.
-NLM_F_CREATE:Create object if it doesn't already exist.
-NLM_F_APPEND:Add to the end of the object list.
+NLM_F_REPLACE:T{
+Replace existing matching object.
+T}
+NLM_F_EXCL:T{
+Don't replace if the object already exists.
+T}
+NLM_F_CREATE:T{
+Create object if it doesn't already exist.
+T}
+NLM_F_APPEND:T{
+Add to the end of the object list.
+T}
.TE
+.ad
+.hy
.PP
.I nlmsg_seq
and