]> git.ipfire.org Git - thirdparty/chrony.git/commit
socket: add new socket support
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 18 Jul 2019 06:26:06 +0000 (08:26 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 18 Jul 2019 14:54:48 +0000 (16:54 +0200)
commit86a3ef9ed19237ffe8287297fde81c4eec99c3f0
tree2b82e8c764ea9e33a05abdcef9b0ac31b59ffb5f
parent3f8c57c8f2250de6685d824bdfc28a9a8c4dcc01
socket: add new socket support

Add a new file implementing support for opening sockets, sending and
receiving messages with control messages (e.g. addresses, timestamps),
and related operations, which should be simpler to use than the system
functions and allow their features to be reused between different parts
of the chrony code.

It is based on the ntp_io.c and ntp_io_linux.c files. It will be used by
the NTP client/server, cmdmon server, client, and others.
socket.c [new file with mode: 0644]
socket.h [new file with mode: 0644]