summaryrefslogtreecommitdiffstats
path: root/man7/sock_diag.7
diff options
context:
space:
mode:
Diffstat (limited to 'man7/sock_diag.7')
-rw-r--r--man7/sock_diag.726
1 files changed, 13 insertions, 13 deletions
diff --git a/man7/sock_diag.7 b/man7/sock_diag.7
index 962c3edf3..2bf01920d 100644
--- a/man7/sock_diag.7
+++ b/man7/sock_diag.7
@@ -31,9 +31,9 @@ listening, and so on.)
.P
Note that sock_diag reports only those sockets that have a name;
that is, either sockets bound explicitly with
-.BR bind (2)
+.MR bind 2
or sockets that were automatically bound to an address (e.g., by
-.BR connect (2)).
+.MR connect 2 ).
This is the same set of sockets that is available via
.IR /proc/net/unix ,
.IR /proc/net/tcp ,
@@ -44,7 +44,7 @@ and so on.
The request starts with a
.I "struct nlmsghdr"
header described in
-.BR netlink (7)
+.MR netlink 7
with
.I nlmsg_type
field set to
@@ -96,14 +96,14 @@ header and is followed by an array of objects specific to the address family.
The array is to be accessed with the standard
.B NLMSG_*
macros from the
-.BR netlink (3)
+.MR netlink 3
API.
.P
Each object is the NLA (netlink attributes) list that is to be accessed
with the
.B RTA_*
macros from
-.BR rtnetlink (3)
+.MR rtnetlink 3
API.
.\"
.SS UNIX domain sockets
@@ -205,9 +205,9 @@ The attribute reported in answer to this request is
.BR UNIX_DIAG_ICONS .
The payload associated with this attribute is an array of __u32 values
which are inode numbers of sockets that has passed the
-.BR connect (2)
+.MR connect 2
call, but hasn't been processed with
-.BR accept (2)
+.MR accept 2
yet.
This attribute is reported for listening sockets only.
.TP
@@ -242,7 +242,7 @@ the amount of data in incoming queue.
.I udiag_wqueue
For listening sockets:
the backlog length which equals to the value passed as the second argument to
-.BR listen (2).
+.MR listen 2 .
.IP
For established sockets:
the amount of memory available for sending.
@@ -259,7 +259,7 @@ The following attributes are reported back without any specific request:
.B UNIX_DIAG_SHUTDOWN
The payload associated with this attribute is __u8 value which represents
bits of
-.BR shutdown (2)
+.MR shutdown 2
state.
.RE
.TP
@@ -819,7 +819,7 @@ main(void)
}
.EE
.SH SEE ALSO
-.BR netlink (3),
-.BR rtnetlink (3),
-.BR netlink (7),
-.BR tcp (7)
+.MR netlink 3 ,
+.MR rtnetlink 3 ,
+.MR netlink 7 ,
+.MR tcp 7