]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r312296 and r323254, which is new a socket option
authorsobomax <sobomax@FreeBSD.org>
Wed, 12 Sep 2018 18:52:18 +0000 (18:52 +0000)
committersobomax <sobomax@FreeBSD.org>
Wed, 12 Sep 2018 18:52:18 +0000 (18:52 +0000)
commitd1c8f9a26dfb0034e31acd6f01ee8b9c9ae5f7d6
treeab2b2d429c40ea9b4f9e1dc909fe8cb8fe0c3bc9
parent33e65b093c93774ef48d1b37a98429d1c0bf2573
MFC r312296 and r323254, which is new a socket option
SO_TS_CLOCK to pick from several different clock sources to
return timestamps when SO_TIMESTAMP is enabled and two
new nanosecond-precision timestamp types. This also fixes
recvmsg32() system call to properly down-convert layout of the
64-bit structures to match what 32-bit app(s) expect.

Bump __FreeBSD_version to indicate presence of a new
functionality.

Differential Revision: https://reviews.freebsd.org/D9171
14 files changed:
lib/libc/sys/getsockopt.2
sys/compat/freebsd32/freebsd32.h
sys/compat/freebsd32/freebsd32_misc.c
sys/kern/uipc_socket.c
sys/kern/uipc_usrreq.c
sys/netinet/ip_input.c
sys/netinet6/ip6_input.c
sys/sys/param.h
sys/sys/socket.h
sys/sys/socketvar.h
tools/regression/sockets/udp_pingpong/Makefile [new file with mode: 0644]
tools/regression/sockets/udp_pingpong/udp_pingpong.c [new file with mode: 0644]
tools/regression/sockets/unix_cmsg/Makefile
tools/regression/sockets/unix_cmsg/unix_cmsg.c