Re: [chrony-users] Does chrony have an IPC API to supply pps time for non standard GPS time source? |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Does chrony have an IPC API to supply pps time for non standard GPS time source?
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Mon, 4 Dec 2023 16:33:23 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1701704013; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ldiTj5ZTc+Zt139Ks0IKJy+HfzhdENIRTHxUQYPxiEg=; b=B+q3bTuK4COE+GzY+5dJ6u717Pcg3oxMpFf858TQARvj7oXbqGXk7j5eE90UEfBCaD5Y9J U1V+lVS0IwTKfSlsEO3V1QxIuppR1PSfeeCjVUNMVk6xPAkomGZEy9EZlhIDNVyFxpThHi OskCqe97BkhJh5zzor2DA6L33ZWF8xw=
On Sun, Dec 03, 2023 at 07:19:43PM +0000, Whelan, Andy wrote:
> We would like to know if there are available IPC APIs (whether socket, message queue, or shared memory) to feed a chrony server time information.
There is the SOCK refclock for that. Here are some examples:
https://gitlab.com/gpsd/gpsd/-/blob/master/gpsd/timehint.c?ref_type=heads#L324
https://github.com/mlichvar/ntp-refclock/blob/master/sock.c
--
Miroslav Lichvar
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.