/macosx-10.10/ntp-92/scripts/ |
H A D | ntptrace | 28 $stratum = 255; 32 $stratum = $1 if (/stratum=(\d+)/); 41 last if ($stratum == 255); 52 printf("%s: stratum %d, offset %f, synch distance %f", 53 $dhost, $stratum, $offset, $syncdistance); 54 printf(", refid '%s'", $refid) if ($stratum == 1); 56 last if ($stratum == 0 || $stratum == 1 || $stratum [all...] |
H A D | ntptrace.in | 28 $stratum = 255; 32 $stratum = $1 if (/stratum=(\d+)/); 41 last if ($stratum == 255); 52 printf("%s: stratum %d, offset %f, synch distance %f", 53 $dhost, $stratum, $offset, $syncdistance); 54 printf(", refid '%s'", $refid) if ($stratum == 1); 56 last if ($stratum == 0 || $stratum == 1 || $stratum [all...] |
H A D | ntp-groper | 13 # dumbo.hp.com answers NTP version 2, stratum: 3, ref: telford.nsa.hp.com 14 # dumbo.hp.com answers NTP version 3, stratum: 3, ref: telford.nsa.hp.com 74 # Next, we get the stratum 75 stratum=`fgrep "stratum=" $ntpqlog` 76 #stratum=${stratum##*stratum=} 77 #stratum=${stratum [all...] |
H A D | ntpsweep.in | 58 $program prints per host given in <file> the NTP stratum level, the 130 my $stratum = 0; 145 /^stratum\s+(\d+).*$/ && do { 146 $stratum = $1; 155 if ($stratum) { 219 if ($stratum) { 221 $stratum, $offset, substr($daemonversion,0,11), 230 if ($stratum || $known_host) { # Valid or known host
|
/macosx-10.10/ntp-92/ntpd/ |
H A D | refclock_local.c | 47 * case the stratum should be set at zero, indicating a bona fide 48 * stratum-1 source. Exercise some caution with this, since there is no 73 #define STRATUM 5 /* default stratum */ 129 peer->stratum = STRATUM; 130 pp->stratum = STRATUM; 144 * bits are set to 11 and the stratum is set to infinity. Otherwise, the 145 * NTP leap bits are set to the kernel leap bits and the stratum is set 198 peer->stratum = pp->stratum; 203 peer->stratum [all...] |
H A D | refclock_atom.c | 133 pp->stratum = STRATUM_UNSPEC;
|
H A D | ntp_proto.c | 53 u_char sys_stratum; /* system stratum */ 97 int sys_floor = 0; /* cluster stratum floor */ 98 int sys_ceiling = STRATUM_UNSPEC; /* cluster stratum ceiling */ 103 int sys_orphan = STRATUM_UNSPEC + 1; /* orphan stratum */ 304 int hisstratum; /* packet stratum */ 353 hisstratum = PKT_TO_STRATUM(pkt->stratum); 741 * stratum is greater than the manycaster or the 786 * Do not respond if unsynchronized or stratum is below 833 * Do not respond if unsynchronized or stratum is below 939 * Do not respond if synchronized and stratum i [all...] |
H A D | refclock_pst.c | 260 if (peer->stratum <= 1)
|
H A D | refclock_leitch.c | 216 peer->stratum = stratumtouse[unit]; 398 peer->stratum = stratumtouse[unit];
|
H A D | ntp_refclock.c | 165 * its reference ID and stratum are set here. It returns one if success 213 peer->stratum = STRATUM_REFCLOCK; 1023 * ID and stratum. 1062 peer->stratum = pp->stratum = (u_char)in->fudgeval1; 1091 out->fudgeval1 = pp->stratum;
|
H A D | ntpsim.c | 247 * Masquerade the reply as a stratum-1 server with a GPS clock 251 xpkt.stratum = STRATUM_TO_PKT(((u_char)1));
|
/macosx-10.10/tcpdump-61/tcpdump/ |
H A D | ntp.h | 80 u_char stratum; /* Stratum level */ member in struct:ntpdata
|
H A D | print-ntp.c | 114 TCHECK(bp->stratum); 116 bp->stratum, 117 tok2str(ntp_stratum_values, (bp->stratum >=2 && bp->stratum<=15) ? "secondary reference" : "reserved", bp->stratum)); 136 /* Interpretation depends on stratum */ 137 switch (bp->stratum) {
|
/macosx-10.10/ntp-92/scripts/monitoring/ |
H A D | ntptrap | 357 ($stratum) = ($data =~ /stratum=(\d+)/); 359 $msg .= "stratum=$stratum refid=$refid"; 421 ($stratum) = ($data =~ /stratum=(\d+)/); 422 $msg .= "new stratum $stratum";
|
/macosx-10.10/ntp-92/ntpdate/ |
H A D | ntpdate.h | 21 u_char stratum; /* stratum of remote server */ member in struct:server
|
H A D | ntptimeset.c | 189 #define NTP_INFIN 15 /* max stratum, infinity a la Bellman-Ford */ 867 xpkt.stratum = STRATUM_TO_PKT(STRATUM_UNSPEC); 1006 || rpkt->stratum >=STRATUM_UNSPEC) { 1008 printf("receive: mode %d stratum %d\n", 1009 PKT_MODE(rpkt->li_vn_mode), rpkt->stratum); 1064 server->stratum = PKT_TO_STRATUM(rpkt->stratum); 1140 if (server->stratum <= NTP_INFIN) 1141 return; /* server does not have a stratum */ 1263 if (server->stratum > NTP_INFI [all...] |
H A D | ntpdate.c | 102 #define NTP_INFIN 15 /* max stratum, infinity a la Bellman-Ford */ 689 xpkt.stratum = STRATUM_TO_PKT(STRATUM_UNSPEC); 777 || rpkt->stratum >= STRATUM_UNSPEC) { 779 printf("receive: mode %d stratum %d\n", 780 PKT_MODE(rpkt->li_vn_mode), rpkt->stratum); 835 server->stratum = PKT_TO_STRATUM(rpkt->stratum); 1036 if (server->stratum > NTP_INFIN) { 1039 continue; /* stratum no good */ 1078 if (server->stratum < [all...] |
/macosx-10.10/ntp-92/sntp/ |
H A D | networking.c | 475 printf("sntp recv_bcst_pkt: mode %d stratum %i\n", 476 PKT_MODE(rpkt->li_vn_mode), rpkt->stratum); 481 if (STRATUM_PKT_UNSPEC == rpkt->stratum) { 485 printf("sntp recv_bcst_pkt: Stratum unspecified, going to check for KOD (stratum: %i)\n", rpkt->stratum); 677 printf("sntp recvpkt: mode %d stratum %i\n", 678 PKT_MODE(rpkt->li_vn_mode), rpkt->stratum); 684 if (STRATUM_PKT_UNSPEC == rpkt->stratum) { 688 printf("sntp recvpkt: Stratum unspecified, going to check for KOD (stratum: %i)\n", rpkt->stratum); [all...] |
H A D | networking.h | 67 u_char stratum; member in struct:speer
|
H A D | main.c | 192 x_pkt.stratum = STRATUM_TO_PKT(STRATUM_UNSPEC);
|
/macosx-10.10/ntp-92/include/ |
H A D | ntp_refclock.h | 211 u_char stratum; /* server stratum */ member in struct:refclockproc
|
H A D | ntp_request.h | 344 u_char stratum; /* stratum of peer */ member in struct:info_peer_summary 371 u_char stratum; /* peer.stratum */ member in struct:info_peer 469 u_char stratum; /* our stratum */ member in struct:info_sys
|
H A D | ntp.h | 229 #define TEST6 0x0020 /* bad synch or stratum */ 238 #define TEST10 0x0200 /* peer bad synch or stratum */ 287 u_char stratum; /* remote stratum */ member in struct:peer 431 * Values for peer.stratum, sys_stratum 433 #define STRATUM_REFCLOCK ((u_char)0) /* default stratum */ 434 /* A stratum of 0 in the packet is mapped to 16 internally */ 482 #define PPSREFID (u_int32)"PPS " /* used when pps controls stratum>1 */ 544 u_char stratum; /* peer stratum */ member in struct:pkt [all...] |
/macosx-10.10/ntp-92/libsntp/ |
H A D | libsntp_query.c | 163 x_pkt.stratum = STRATUM_TO_PKT(STRATUM_UNSPEC);
|
/macosx-10.10/ntp-92/ntpdc/ |
H A D | ntpdc_ops.c | 525 plist->stratum, ntp_poll, plist->reach, 534 /* Convert a refid & stratum (in host order) to a string */ 538 int stratum 541 if (stratum <= 1) { 614 (void) fprintf(fp, "hmode %s, pmode %s, stratum %d, precision %d\n", 616 pp->stratum, pp->precision); 622 refid_string(pp->refid, pp->stratum), fptoa(NTOHS_FP(pp->rootdelay), 5), 999 (void) fprintf(fp, "stratum: %d\n", (int)is->stratum); 1006 refid_string(is->refid, is->stratum)); [all...] |