| /freebsd-11-stable/usr.sbin/ntp/scripts/ |
| HD | ntptrace | 22 $stratum = 255; 26 $stratum = $1 if (/stratum=(\d+)/); 34 last if ($stratum == 255); 46 $dhost, $stratum, $offset, $rootdelay); 47 printf(", refid '%s'", $refid) if ($stratum == 1); 49 last if ($stratum == 0 || $stratum == 1 || $stratum == 16);
|
| /freebsd-11-stable/contrib/ntp/ntpd/ |
| HD | refclock_local.c | 121 peer->stratum = STRATUM; in local_start() 122 pp->stratum = STRATUM; in local_start() 188 peer->stratum = pp->stratum; in local_poll() 193 peer->stratum = pp->stratum; in local_poll() 198 peer->stratum = pp->stratum; in local_poll() 203 peer->stratum = STRATUM_UNSPEC; in local_poll()
|
| HD | refclock_tsyncpci.c | 699 pp->stratum = STRATUM_UNSPEC; in tsync_poll() 700 peer->stratum = pp->stratum; in tsync_poll() 706 up->refStratum = sys_peer->stratum; in tsync_poll() 721 pp->stratum = TSYNC_LCL_STRATUM; in tsync_poll() 722 peer->stratum = pp->stratum; in tsync_poll() 741 pp->stratum = up->refStratum; in tsync_poll() 742 peer->stratum = pp->stratum; in tsync_poll()
|
| HD | ntp_proto.c | 726 hisstratum = PKT_TO_STRATUM(pkt->stratum); in receive() 1283 PKT_TO_STRATUM(pkt->stratum), in receive() 1356 PKT_TO_STRATUM(pkt->stratum), in receive() 2500 pstratum = PKT_TO_STRATUM(pkt->stratum); in process_packet() 2541 peer->stratum = min(pstratum, STRATUM_UNSPEC); in process_packet() 2829 sys_stratum = min(peer->stratum + 1, STRATUM_UNSPEC); in clock_update() 2830 if ( peer->stratum == STRATUM_REFCLOCK in clock_update() 2831 || peer->stratum == STRATUM_UNSPEC) in clock_update() 3209 peer->stratum = STRATUM_UNSPEC; in peer_clear() 3542 if (peer->stratum == sys_orphan) { in clock_select() [all …]
|
| HD | ntp_util.c | 687 int stratum, in record_raw_stats() argument 714 leap, version, mode, stratum, ppoll, precision, in record_raw_stats() 715 root_delay, root_dispersion, refid_str(refid, stratum)); in record_raw_stats()
|
| /freebsd-11-stable/contrib/ntp/ |
| HD | results.y2kfixes | 10 timelord.att.com: stratum 2, offset -0.000879, synch distance 0.07207 11 timemaster.att.com: stratum 1, offset -0.004876, synch distance 0.03485, refid 'GPS' 21 timelord.att.com: stratum 2, offset 0.001383, synch distance 0.05644 22 timemaster.att.com: stratum 1, offset -0.006355, synch distance 0.04178, refid 'GPS' 32 timelord.att.com: stratum 2, offset -0.000094, synch distance 0.06522 33 timemaster.att.com: stratum 1, offset -0.010803, synch distance 0.03078, refid 'GPS' 43 timelord.att.com: stratum 2, offset -0.000719, synch distance 0.06561 44 timemaster.att.com: stratum 1, offset -0.013598, synch distance 0.03116, refid 'GPS' 54 fudge 127.127.1.0 stratum 0 59 server 135.16.xxxx.xxxx stratum 1, offset 0.000033, delay 0.02975 [all …]
|
| /freebsd-11-stable/contrib/ntp/scripts/ntptrace/ |
| HD | ntptrace.in | 36 $dhost, $info{stratum}, $info{offset}, $info{syncdistance}; 37 printf ", refid '%s'", $info{refid} if $info{stratum} == 1; 40 last if $info{stratum} == 0 || $info{stratum} == 1 || 41 $info{stratum} == 16; 60 return if not exists $info->{stratum};
|
| HD | ntptrace-opts.def | 55 % ntptrace localhost: stratum 4, offset 0.0019529, synch distance 0.144135 56 server2ozo.com: stratum 2, offset 0.0124263, synch distance 0.115784 usndh.edu: 57 stratum 1, offset 0.0019298, synch distance 0.011993, refid 'WWVB' 60 On each line, the fields are (left to right): the host name, the host stratum, 63 synchronization distance, and (only for stratum-1 servers) the reference clock 64 ID. All times are given in seconds. Note that the stratum is the server hop
|
| HD | invoke-ntptrace.texi | 23 % ntptrace localhost: stratum 4, offset 0.0019529, synch distance 0.144135 24 server2ozo.com: stratum 2, offset 0.0124263, synch distance 0.115784 usndh.edu: 25 stratum 1, offset 0.0019298, synch distance 0.011993, refid 'WWVB' 28 On each line, the fields are (left to right): the host name, the host stratum, 31 synchronization distance, and (only for stratum-1 servers) the reference clock 32 ID. All times are given in seconds. Note that the stratum is the server hop
|
| /freebsd-11-stable/contrib/ntp/scripts/deprecated/ |
| HD | ntp-groper | 75 stratum=`fgrep "stratum=" $ntpqlog` 78 stratum=`expr "$stratum" : '.*stratum=\([^,]*\),.*'` 80 echo "$host answers NTP version $version, stratum: $stratum, ref: $synchost"
|
| /freebsd-11-stable/contrib/ntp/scripts/ntpsweep/ |
| HD | ntpsweep.in | 100 my $stratum = 0; 112 ($offset, $stratum) = ntp_sntp_line($host); 115 if ($stratum) { 152 if ($stratum) { 154 $stratum, $offset, (substr $daemonversion, 0, 11), 164 if ($stratum || $known_host) { # Valid or known host
|
| /freebsd-11-stable/contrib/tcpdump/ |
| HD | print-ntp.c | 118 u_char stratum; /* Stratum level */ member 234 ND_TCHECK(bp->stratum); in ntp_print() 236 bp->stratum, in ntp_print() 237 …tok2str(ntp_stratum_values, (bp->stratum >=2 && bp->stratum<=15) ? "secondary reference" : "reserv… in ntp_print() 257 switch (bp->stratum) { in ntp_print()
|
| /freebsd-11-stable/contrib/ntp/scripts/lib/NTP/ |
| HD | Util.pm | 135 my ($offset, $stratum); 144 $stratum = $1; 147 $stratum = $1; 152 return ($offset, $stratum);
|
| /freebsd-11-stable/contrib/ntp/ntpdate/ |
| HD | ntpdate.c | 695 xpkt.stratum = STRATUM_TO_PKT(STRATUM_UNSPEC); in transmit() 783 || rpkt->stratum >= STRATUM_UNSPEC) { in receive() 786 PKT_MODE(rpkt->li_vn_mode), rpkt->stratum); in receive() 841 STRATUM_PKT_UNSPEC == rpkt->stratum && in receive() 854 server->stratum = PKT_TO_STRATUM(rpkt->stratum); in receive() 1065 if (server->stratum == 0) { in clock_select() 1070 if (server->stratum > NTP_INFIN) { in clock_select() 1112 if (server->stratum <= server_list[i]->stratum) in clock_select() 1115 if (server->stratum < server_list[i]->stratum) in clock_select() 1146 if (server_list[i]->stratum > server_list[i-1]->stratum) { in clock_select() [all …]
|
| HD | ntpdate.h | 21 u_char stratum; /* stratum of remote server */ member
|
| /freebsd-11-stable/contrib/ntp/scripts/monitoring/ |
| HD | ntptrap | 359 ($stratum) = ($data =~ /stratum=(\d+)/); 361 $msg .= "stratum=$stratum refid=$refid"; 423 ($stratum) = ($data =~ /stratum=(\d+)/); 424 $msg .= "new stratum $stratum";
|
| /freebsd-11-stable/contrib/ntp/libntp/ |
| HD | numtoa.c | 40 int stratum in refid_str() argument 46 if (stratum > 1) in refid_str()
|
| /freebsd-11-stable/contrib/ntp/sntp/ |
| HD | networking.c | 239 PKT_MODE(rpkt->li_vn_mode), rpkt->stratum); in process_pkt() 243 if (STRATUM_PKT_UNSPEC == rpkt->stratum) { in process_pkt() 247 func_name, rpkt->stratum)); in process_pkt()
|
| HD | main.c | 1137 x_pkt->stratum = STRATUM_TO_PKT(STRATUM_UNSPEC); in generate_pkt() 1175 int stratum; in handle_pkt() local 1259 stratum = rpkt->stratum; in handle_pkt() 1260 if (0 == stratum) in handle_pkt() 1261 stratum = 16; in handle_pkt() 1294 hostnameaddr(hostname, host), stratum, in handle_pkt()
|
| /freebsd-11-stable/contrib/ntp/scripts/ |
| HD | README | 18 ntpsweep prints per host given in <file> the NTP stratum level, the 22 ntptrace Trace ntp peers of a server up to stratum 1.
|
| /freebsd-11-stable/contrib/ntp/sntp/tests/ |
| HD | packetProcessing.c | 115 testpkt.p.stratum = STRATUM_REFCLOCK; in setUp() 336 testpkt.p.stratum = STRATUM_PKT_UNSPEC; in test_KoDRate() 350 testpkt.p.stratum = STRATUM_PKT_UNSPEC; in test_KoDDeny()
|
| HD | packetHandling.c | 63 TEST_ASSERT_EQUAL(STRATUM_UNSPEC, PKT_TO_STRATUM(testpkt.stratum)); in test_GenerateUnauthenticatedPacket() 100 TEST_ASSERT_EQUAL(STRATUM_UNSPEC, PKT_TO_STRATUM(testpkt.stratum)); in test_GenerateAuthenticatedPacket()
|
| /freebsd-11-stable/contrib/ntp/ntpsnmpd/ |
| HD | ntpv4-mib.mib | 103 "The NTP stratum, with 16 representing no stratum." 185 (stratum 0) source including the unit, e.g., '13.243 ms'." 209 source (stratum = 16). 212 (stratum = 16). 228 "The NTP entity's own stratum value. Should be a stratum of 559 "The association stratum value." 728 "The notification to be sent when stratum level of NTP changes."
|
| /freebsd-11-stable/contrib/bsnmp/snmp_ntp/ |
| HD | NTP-MIB.txt | 95 " indicating the stratum of the local clock. 139 stratum 0 (unspecified) or stratum 1 (primary reference 141 ASCII string.In the case of stratum 2 and greater (secondary 371 " indicating the stratum of the peer clock.
|
| /freebsd-11-stable/contrib/ntp/ntpdc/ |
| HD | layout.std | 48 offsetof(stratum) = 10 70 offsetof(stratum) = 14 152 offsetof(stratum) = 6
|