chrony/test/unit
Miroslav Lichvar 3dc9f1ff92 ntp: don't require previous HW TX timestamp to wait for another
Clients sockets are closed immediately after receiving valid response.
Don't wait for the first early HW TX timestamp to enable waiting for
late timestamps. It may take a long time or never come if the HW/driver
is consistently slow. It's a chicken and egg problem.

Instead, simply check if HW timestamping is enabled on at least one
interface. Responses from NTP sources on other interfaces will always be
saved (for 1 millisecond by default).
2023-08-08 16:06:58 +02:00
..
addrfilt.c test: fix DEBUG_LOG use in unit tests 2017-03-13 12:04:26 +01:00
array.c test: add array unit test 2023-03-02 10:41:28 +01:00
clientlog.c clientlog: save source of transmit timestamps 2023-03-22 09:42:06 +01:00
cmac.c cmac+hash: change parameter types 2020-07-09 14:47:33 +02:00
hash.c hash: allow non-security MD5 use in FIPS mode 2021-09-02 15:17:08 +02:00
hwclock.c update copyright years 2022-08-29 15:04:33 +02:00
keys.c ntp: drop precompensation of TX timestamp 2020-07-09 14:46:57 +02:00
Makefile.in test: disable object dependencies in main makefile 2020-06-08 15:27:57 +02:00
ntp_auth.c ntp: move initial packet parsing from ntp_auth to ntp_core 2021-11-16 10:00:31 +01:00
ntp_core.c ntp: don't require previous HW TX timestamp to wait for another 2023-08-08 16:06:58 +02:00
ntp_core.keys test: include CMAC keys in ntp_core unit test 2020-09-23 15:10:43 +02:00
ntp_ext.c test: add ntp_ext unit test 2020-03-05 16:02:15 +01:00
ntp_sources.c test: improve ntp_sources unit test 2023-07-18 14:53:54 +02:00
nts_ke.crt test: add nts unit tests 2020-03-05 16:02:15 +01:00
nts_ke.key test: add nts unit tests 2020-03-05 16:02:15 +01:00
nts_ke_client.c nts: add client support for authentication with AES-128-GCM-SIV 2022-10-19 15:50:39 +02:00
nts_ke_server.c nts: initialize unused part of server key 2023-05-25 10:28:50 +02:00
nts_ke_session.c nts: add support for multiple sets of trusted certificates 2021-02-18 17:44:04 +01:00
nts_ntp_auth.c nts: fix number of extension fields after failed encryption 2022-10-19 15:50:39 +02:00
nts_ntp_client.c nts: add client support for authentication with AES-128-GCM-SIV 2022-10-19 15:50:39 +02:00
nts_ntp_server.c nts: add server support for authentication with AES-128-GCM-SIV 2022-10-19 15:50:39 +02:00
quantiles.c quantiles: add function to get minimum k 2022-07-21 15:33:35 +02:00
regress.c test: add regress unit test 2017-06-27 15:29:01 +02:00
samplefilt.c samplefilt: add function to get maximum number of samples 2022-07-21 14:17:22 +02:00
siv.c siv: add functions to return min and max nonce length 2022-10-19 15:50:39 +02:00
smooth.c main: don't require root privileges with -Q option 2017-07-13 16:10:54 +02:00
sources.c update copyright years 2022-08-29 15:04:33 +02:00
test.c test: free memory in unit tests on exit 2023-04-13 16:22:50 +02:00
test.h test: drop logging suspension 2021-03-11 11:47:31 +01:00
util.c test: free memory in unit tests on exit 2023-04-13 16:22:50 +02:00