Searched refs:stratum (Results 1 - 25 of 31) sorted by relevance

12

/macosx-10.10/ntp-92/scripts/
H A Dntptrace28 $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 Dntptrace.in28 $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 Dntp-groper13 # 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 Dntpsweep.in58 $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 Drefclock_local.c47 * 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 Drefclock_atom.c133 pp->stratum = STRATUM_UNSPEC;
H A Dntp_proto.c53 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 Drefclock_pst.c260 if (peer->stratum <= 1)
H A Drefclock_leitch.c216 peer->stratum = stratumtouse[unit];
398 peer->stratum = stratumtouse[unit];
H A Dntp_refclock.c165 * 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 Dntpsim.c247 * 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 Dntp.h80 u_char stratum; /* Stratum level */ member in struct:ntpdata
H A Dprint-ntp.c114 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 Dntptrap357 ($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 Dntpdate.h21 u_char stratum; /* stratum of remote server */ member in struct:server
H A Dntptimeset.c189 #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 Dntpdate.c102 #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 Dnetworking.c475 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 Dnetworking.h67 u_char stratum; member in struct:speer
H A Dmain.c192 x_pkt.stratum = STRATUM_TO_PKT(STRATUM_UNSPEC);
/macosx-10.10/ntp-92/include/
H A Dntp_refclock.h211 u_char stratum; /* server stratum */ member in struct:refclockproc
H A Dntp_request.h344 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 Dntp.h229 #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 Dlibsntp_query.c163 x_pkt.stratum = STRATUM_TO_PKT(STRATUM_UNSPEC);
/macosx-10.10/ntp-92/ntpdc/
H A Dntpdc_ops.c525 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...]

Completed in 276 milliseconds

12