Searched refs:min_stratum (Results 1 – 14 of 14) sorted by relevance
/dports/net/chrony-lite/chrony-4.2/ |
H A D | srcparams.h | 46 int min_stratum; member
|
H A D | sources.c | 767 int combined, stratum, min_stratum, max_score_index; in SRC_SelectSource() local 1142 min_stratum = sources[index]->stratum; in SRC_SelectSource() 1146 if (stratum < min_stratum) in SRC_SelectSource() 1147 min_stratum = stratum; in SRC_SelectSource() 1158 (sources[selected_source_index]->stratum - min_stratum) * stratum_weight; in SRC_SelectSource() 1170 (sources[i]->stratum - min_stratum) * stratum_weight; in SRC_SelectSource()
|
H A D | cmdparse.c | 57 src->params.min_stratum = SRC_DEFAULT_MINSTRATUM; in CPS_ParseNTPSourceAdd() 162 if (sscanf(line, "%d%n", &src->params.min_stratum, &n) != 1) in CPS_ParseNTPSourceAdd()
|
H A D | ntp_core.c | 110 int min_stratum; /* Increase stratum in received packets to the member 591 result->min_stratum = params->min_stratum; in NCR_CreateInstance() 592 if (result->min_stratum >= NTP_MAX_STRATUM) in NCR_CreateInstance() 593 result->min_stratum = NTP_MAX_STRATUM - 1; in NCR_CreateInstance() 2065 SRC_UpdateStatus(inst->source, MAX(inst->remote_stratum, inst->min_stratum), pkt_leap); in process_response() 2679 inst->min_stratum = new_min_stratum; in NCR_ModifyMinstratum()
|
H A D | client.c | 605 int min_stratum; in process_cmd_minstratum() local 608 if (read_address_integer(line, &address, &min_stratum)) { in process_cmd_minstratum() 610 msg->data.modify_minstratum.new_min_stratum = htonl(min_stratum); in process_cmd_minstratum() 922 msg->data.ntp_source.min_stratum = htonl(data.params.min_stratum); in process_cmd_add_source()
|
H A D | candm.h | 282 uint32_t min_stratum; member
|
H A D | cmdmon.c | 745 params.min_stratum = ntohl(rx_message->data.ntp_source.min_stratum); in handle_add_source()
|
/dports/net/chrony/chrony-4.2/ |
H A D | srcparams.h | 46 int min_stratum; member
|
H A D | sources.c | 767 int combined, stratum, min_stratum, max_score_index; in SRC_SelectSource() local 1142 min_stratum = sources[index]->stratum; in SRC_SelectSource() 1146 if (stratum < min_stratum) in SRC_SelectSource() 1147 min_stratum = stratum; in SRC_SelectSource() 1158 (sources[selected_source_index]->stratum - min_stratum) * stratum_weight; in SRC_SelectSource() 1170 (sources[i]->stratum - min_stratum) * stratum_weight; in SRC_SelectSource()
|
H A D | cmdparse.c | 57 src->params.min_stratum = SRC_DEFAULT_MINSTRATUM; in CPS_ParseNTPSourceAdd() 162 if (sscanf(line, "%d%n", &src->params.min_stratum, &n) != 1) in CPS_ParseNTPSourceAdd()
|
H A D | ntp_core.c | 110 int min_stratum; /* Increase stratum in received packets to the member 591 result->min_stratum = params->min_stratum; in NCR_CreateInstance() 592 if (result->min_stratum >= NTP_MAX_STRATUM) in NCR_CreateInstance() 593 result->min_stratum = NTP_MAX_STRATUM - 1; in NCR_CreateInstance() 2065 SRC_UpdateStatus(inst->source, MAX(inst->remote_stratum, inst->min_stratum), pkt_leap); in process_response() 2679 inst->min_stratum = new_min_stratum; in NCR_ModifyMinstratum()
|
H A D | client.c | 605 int min_stratum; in process_cmd_minstratum() local 608 if (read_address_integer(line, &address, &min_stratum)) { in process_cmd_minstratum() 610 msg->data.modify_minstratum.new_min_stratum = htonl(min_stratum); in process_cmd_minstratum() 922 msg->data.ntp_source.min_stratum = htonl(data.params.min_stratum); in process_cmd_add_source()
|
H A D | candm.h | 282 uint32_t min_stratum; member
|
H A D | cmdmon.c | 745 params.min_stratum = ntohl(rx_message->data.ntp_source.min_stratum); in handle_add_source()
|