Home
last modified time | relevance | path

Searched refs:SRC_NTP (Results 1 – 10 of 10) sorted by relevance

/dports/net/chrony-lite/chrony-4.2/test/unit/
H A Dsources.c30 type == SRC_NTP ? addr : NULL, in create_source()
65 srcs[j] = create_source(SRC_NTP, &addrs[j], 0, sel_options); in test_unit()
190 srcs[j] = create_source(SRC_NTP, &addrs[j], 1, sel_options); in test_unit()
192 srcs[j] = create_source(SRC_NTP, &addrs[j], 0, sel_options); in test_unit()
194 srcs[j] = create_source(random() % 2 ? SRC_REFCLOCK : SRC_NTP, &addrs[j], in test_unit()
/dports/net/chrony/chrony-4.2/test/unit/
H A Dsources.c30 type == SRC_NTP ? addr : NULL, in create_source()
65 srcs[j] = create_source(SRC_NTP, &addrs[j], 0, sel_options); in test_unit()
190 srcs[j] = create_source(SRC_NTP, &addrs[j], 1, sel_options); in test_unit()
192 srcs[j] = create_source(SRC_NTP, &addrs[j], 0, sel_options); in test_unit()
194 srcs[j] = create_source(random() % 2 ? SRC_REFCLOCK : SRC_NTP, &addrs[j], in test_unit()
/dports/net/chrony/chrony-4.2/
H A Dsources.c485 if (inst->type == SRC_NTP && in SRC_UpdateReachability()
516 if (sources[i]->type != SRC_NTP) in update_sel_options()
554 case SRC_NTP: in update_sel_options()
590 ntp_name = inst->type == SRC_NTP ? NSR_GetName(inst->ip_addr) : NULL; in log_selection_source()
627 case SRC_NTP: in source_to_string()
686 if (sources[selected_source_index]->type == SRC_NTP) in combine_sources()
901 if (sources[i]->stratum >= orphan_stratum && sources[i]->type == SRC_NTP) { in SRC_SelectSource()
1171 if (sources[i]->type == SRC_NTP) in SRC_SelectSource()
1336 case SRC_NTP: in get_dumpfile()
1371 ntp_name = inst->type == SRC_NTP ? NSR_GetName(inst->ip_addr) : "."; in save_source()
[all …]
H A Dsources.h63 SRC_NTP, /* NTP client/peer */ enumerator
H A Dcmdmon.c584 case SRC_NTP: in handle_source_data()
H A Dntp_core.c638 SRC_NTP, NAU_IsAuthEnabled(result->auth), in NCR_CreateInstance()
/dports/net/chrony-lite/chrony-4.2/
H A Dsources.c485 if (inst->type == SRC_NTP && in SRC_UpdateReachability()
516 if (sources[i]->type != SRC_NTP) in update_sel_options()
554 case SRC_NTP: in update_sel_options()
590 ntp_name = inst->type == SRC_NTP ? NSR_GetName(inst->ip_addr) : NULL; in log_selection_source()
627 case SRC_NTP: in source_to_string()
686 if (sources[selected_source_index]->type == SRC_NTP) in combine_sources()
901 if (sources[i]->stratum >= orphan_stratum && sources[i]->type == SRC_NTP) { in SRC_SelectSource()
1171 if (sources[i]->type == SRC_NTP) in SRC_SelectSource()
1336 case SRC_NTP: in get_dumpfile()
1371 ntp_name = inst->type == SRC_NTP ? NSR_GetName(inst->ip_addr) : "."; in save_source()
[all …]
H A Dsources.h63 SRC_NTP, /* NTP client/peer */ enumerator
H A Dcmdmon.c584 case SRC_NTP: in handle_source_data()
H A Dntp_core.c638 SRC_NTP, NAU_IsAuthEnabled(result->auth), in NCR_CreateInstance()