Lines Matching refs:stratum

111 u_char	sys_stratum;		/* system stratum */
165 int sys_floor = 0; /* cluster stratum floor */
167 int sys_ceiling = STRATUM_UNSPEC - 1; /* cluster stratum ceiling */
172 int sys_orphan = STRATUM_UNSPEC + 1; /* orphan stratum */
624 u_char hisstratum; /* packet stratum */
726 hisstratum = PKT_TO_STRATUM(pkt->stratum);
1283 PKT_TO_STRATUM(pkt->stratum),
1332 * stratum is greater than the manycaster or the
1340 DPRINTF(2, ("receive: AM_FXMIT drop: LEAP_NOTINSYNC || stratum || loop\n"));
1356 PKT_TO_STRATUM(pkt->stratum),
1420 * Do not respond if unsynchronized or stratum is below
1426 DPRINTF(2, ("receive: AM_MANYCAST drop: unsync/stratum\n"));
1493 * Do not respond if unsynchronized or stratum is below
1499 DPRINTF(2, ("receive: AM_NEWBCL drop: Unsync or bad stratum\n"));
1675 * Do not respond if synchronized and if stratum is
1686 DPRINTF(2, ("receive: AM_NEWPASS drop: Remote stratum (%d) out of range\n",
1929 "receive: Unexpected stratum (%d) in broadcast from %s",
2500 pstratum = PKT_TO_STRATUM(pkt->stratum);
2504 * stratum and root distance are valid.
2541 peer->stratum = min(pstratum, STRATUM_UNSPEC);
2829 sys_stratum = min(peer->stratum + 1, STRATUM_UNSPEC);
2830 if ( peer->stratum == STRATUM_REFCLOCK
2831 || peer->stratum == STRATUM_UNSPEC)
3209 peer->stratum = STRATUM_UNSPEC;
3431 * down, the system leap bits are set to 11 and the stratum set to
3542 if (peer->stratum == sys_orphan) {
3563 * triggering stratum climb to infinity
3564 * instability. Peers at stratum higher than
3565 * the orphan stratum could have the orphan
3569 if (peer->stratum > sys_orphan) {
3836 * stratum scaled by sys_mindisp (.001 by default). The goal of
3837 * the small stratum factor is to avoid clockhop between a
3842 * In contrast, ntpd 4.2.6 and earlier used stratum primarily
3844 * additional root distance per stratum. This heavy bias is no
3872 peer->stratum * sys_mindisp;
4074 xpkt.stratum = STRATUM_TO_PKT(sys_stratum);
4535 * unsynchronized, stratum zero, reference ID the four-character
4544 xpkt.stratum = STRATUM_PKT_UNSPEC;
4580 xpkt.stratum = STRATUM_TO_PKT(sys_stratum);
4819 xpkt.stratum = STRATUM_TO_PKT(sys_stratum);
4986 * > TEST10 bad leap or stratum below floor or at or above ceiling
4999 * A stratum error occurs if (1) the server has never been
5000 * synchronized, (2) the server stratum is below the floor or
5004 || peer->stratum < sys_floor
5005 || peer->stratum >= sys_ceiling) {
5006 rval |= TEST10; /* bad synch or stratum */
5026 if (peer->stratum > 1 && local_refid(peer)) {
5313 case PROTO_CEILING: /* stratum ceiling (ceiling) */
5321 case PROTO_FLOOR: /* stratum floor (floor) */
5348 case PROTO_ORPHAN: /* orphan stratum (orphan) */