socket.7: Add some SO_TIMESTAMPNS details.

Note the kernel version that added SO_TIMESTAMPNS,
and (from the kernel commit) note tha SO_TIMESTAMPNS and
SO_TIMESTAMP are mutually exclusive.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-04-06 09:44:37 +02:00
parent a47d370bb3
commit 3e472692a6
1 changed files with 8 additions and 1 deletions

View File

@ -941,7 +941,8 @@ See
.BR cmsg (3)
for details on control messages.
.TP
.B SO_TIMESTAMPNS
.BR SO_TIMESTAMPNS " (since Linux 2.6.22)"
.\" commit 92f37fd2ee805aa77925c1e64fd56088b46094fc
Enable or disable the receiving of the
.B SO_TIMESTAMPNS
control message.
@ -958,6 +959,12 @@ The clock used for the timestamp is
See
.BR cmsg (3)
for details on control messages.
.IP
A socket cannot mix
.B SO_TIMESTAMP
and
.BR SO_TIMESTAMPNS:
the two modes are mutually exclusive.
.TP
.B SO_TYPE
Gets the socket type as an integer (e.g.,