mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 06:05:06 -05:00
Include both refid and IP address in tracking and sourcestats reports
ref_id is not sufficient for IPv6 addresses and ref_id is needed for reference clocks.
This commit is contained in:
5
candm.h
5
candm.h
@@ -321,7 +321,8 @@ typedef struct {
|
||||
|
||||
Version 3 : NTP_Source message lengthened (auto_offline)
|
||||
|
||||
Version 4 : IPv6 addressing added, 64-bit time values
|
||||
Version 4 : IPv6 addressing added, 64-bit time values, sourcestats
|
||||
and tracking reports extended
|
||||
|
||||
*/
|
||||
|
||||
@@ -472,6 +473,7 @@ typedef struct {
|
||||
|
||||
typedef struct {
|
||||
uint32_t ref_id;
|
||||
IPAddr ip_addr;
|
||||
uint32_t stratum;
|
||||
Timeval ref_time;
|
||||
uint32_t current_correction_s;
|
||||
@@ -485,6 +487,7 @@ typedef struct {
|
||||
} RPY_Tracking;
|
||||
|
||||
typedef struct {
|
||||
uint32_t ref_id;
|
||||
IPAddr ip_addr;
|
||||
uint32_t n_samples;
|
||||
uint32_t n_runs;
|
||||
|
||||
Reference in New Issue
Block a user