Home
last modified time | relevance | path

Searched refs:stratum (Results 1 – 2 of 2) sorted by relevance

/busybox-1.35.0/examples/var_service/ntpd/
Dntp.script34 if test x"$stratum" != x"" \
36 && test 4 -ge "$stratum" \
42 "stratum=$stratum"\
53 "stratum=$stratum"\
/busybox-1.35.0/networking/
Dntpd.c448 uint8_t stratum; member
1000 env1 = xasprintf("%s=%u", "stratum", G.stratum); in run_script()
1086 G.stratum = MAXSTRAT; in clamp_pollexp_and_set_MAXSTRAT()
1580 if (G.stratum != p->lastpkt_stratum + 1) { in update_local_clock()
1581 G.stratum = p->lastpkt_stratum + 1; in update_local_clock()
2112 msg.m_status = G.stratum < MAXSTRAT ? (G.ntp_status & LI_MASK) : LI_ALARM; in recv_and_process_client_pkt()
2116 msg.m_stratum = G.stratum; in recv_and_process_client_pkt()
2266 G.stratum = MAXSTRAT; in ntp_init()
2431 G.stratum = 1; in ntp_init()
2651 if (G.ntp_peers && G.stratum != MAXSTRAT) { in ntpd_main()