Home
last modified time | relevance | path

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

1234

/netbsd/src/external/bsd/ntp/dist/ntpd/
Drefclock_local.c123 peer->stratum = STRATUM; in local_start()
124 pp->stratum = STRATUM; in local_start()
190 peer->stratum = pp->stratum; in local_poll()
195 peer->stratum = pp->stratum; in local_poll()
200 peer->stratum = pp->stratum; in local_poll()
205 peer->stratum = STRATUM_UNSPEC; in local_poll()
Drefclock_tsyncpci.c701 pp->stratum = STRATUM_UNSPEC; in tsync_poll()
702 peer->stratum = pp->stratum; in tsync_poll()
708 up->refStratum = sys_peer->stratum; in tsync_poll()
723 pp->stratum = TSYNC_LCL_STRATUM; in tsync_poll()
724 peer->stratum = pp->stratum; in tsync_poll()
743 pp->stratum = up->refStratum; in tsync_poll()
744 peer->stratum = pp->stratum; in tsync_poll()
Dntp_proto.c741 hisstratum = PKT_TO_STRATUM(pkt->stratum); in receive()
1327 PKT_TO_STRATUM(pkt->stratum), in receive()
1416 PKT_TO_STRATUM(pkt->stratum), in receive()
2590 pstratum = PKT_TO_STRATUM(pkt->stratum); in process_packet()
2631 peer->stratum = min(pstratum, STRATUM_UNSPEC); in process_packet()
2918 sys_stratum = min(peer->stratum + 1, STRATUM_UNSPEC); in clock_update()
2919 if ( peer->stratum == STRATUM_REFCLOCK in clock_update()
2920 || peer->stratum == STRATUM_UNSPEC) in clock_update()
3292 peer->stratum = STRATUM_UNSPEC; in peer_clear()
3632 if (peer->stratum == sys_orphan) { in clock_select()
[all …]
/netbsd/src/external/bsd/ntp/dist/
Dresults.y2kfixes10 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 …]
/netbsd/src/external/bsd/ntp/dist/libntp/
Dnumtoa.c46 int stratum in refid_str() argument
58 if (0 == stratum && LOOPBACKADR_N == refid) { in refid_str()
62 if (stratum < 2) { in refid_str()
84 if ( (stratum < 0 && printable) in refid_str()
85 || stratum < 2) { in refid_str()
/netbsd/src/external/bsd/ntp/dist/scripts/ntptrace/
Dntptrace.in38 $dhost, $info{stratum}, $info{offset}, $info{syncdistance};
39 printf ", refid '%s'", $info{refid} if $info{stratum} == 1;
42 last if $info{stratum} == 0 || $info{stratum} == 1 ||
43 $info{stratum} == 16;
62 return if not exists $info->{stratum};
Dntptrace-opts.def55 % 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
Dinvoke-ntptrace.texi23 % 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
/netbsd/src/external/bsd/ntp/dist/scripts/deprecated/
Dntp-groper75 stratum=`fgrep "stratum=" $ntpqlog`
78 stratum=`expr "$stratum" : '.*stratum=\([^,]*\),.*'`
80 echo "$host answers NTP version $version, stratum: $stratum, ref: $synchost"
/netbsd/src/external/bsd/tcpdump/dist/
Dprint-ntp.c101 nd_uint8_t stratum; /* Stratum level */ member
233 uint8_t stratum; in ntp_time_print() local
238 stratum = GET_U_1(bp->stratum); in ntp_time_print()
240 stratum, in ntp_time_print()
241 …tok2str(ntp_stratum_values, (stratum >=2 && stratum<=15) ? "secondary reference" : "reserved", str… in ntp_time_print()
259 switch (stratum) { in ntp_time_print()
/netbsd/src/external/bsd/ntp/dist/scripts/ntpsweep/
Dntpsweep.in101 my $stratum = 0;
113 ($offset, $stratum) = ntp_sntp_line($host);
116 if ($stratum) {
153 if ($stratum) {
155 $stratum, $offset, (substr $daemonversion, 0, 11),
165 if ($stratum || $known_host) { # Valid or known host
/netbsd/src/external/bsd/ntp/dist/scripts/lib/NTP/
DUtil.pm135 my ($offset, $stratum);
144 $stratum = $1;
147 $stratum = $1;
152 return ($offset, $stratum);
/netbsd/src/external/bsd/ntp/dist/ntpdate/
Dntpdate.c698 xpkt.stratum = STRATUM_TO_PKT(STRATUM_UNSPEC); in transmit()
786 || rpkt->stratum >= STRATUM_UNSPEC) { in receive()
789 PKT_MODE(rpkt->li_vn_mode), rpkt->stratum); in receive()
844 STRATUM_PKT_UNSPEC == rpkt->stratum && in receive()
857 server->stratum = PKT_TO_STRATUM(rpkt->stratum); in receive()
1068 if (server->stratum == 0) { in clock_select()
1073 if (server->stratum > NTP_INFIN) { in clock_select()
1115 if (server->stratum <= server_list[i]->stratum) in clock_select()
1118 if (server->stratum < server_list[i]->stratum) in clock_select()
1149 if (server_list[i]->stratum > server_list[i-1]->stratum) { in clock_select()
[all …]
/netbsd/src/external/bsd/ntp/dist/scripts/monitoring/
Dntptrap359 ($stratum) = ($data =~ /stratum=(\d+)/);
361 $msg .= "stratum=$stratum refid=$refid";
423 ($stratum) = ($data =~ /stratum=(\d+)/);
424 $msg .= "new stratum $stratum";
/netbsd/src/external/gpl3/gdb/dist/gdb/
Dtarget.c1155 if (t->stratum () == process_stratum) in decref()
1181 strata stratum = t->stratum (); in push() local
1185 if (m_stack[stratum].get () != nullptr) in push()
1186 unpush (m_stack[stratum].get ()); in push()
1189 m_stack[stratum] = std::move (ref); in push()
1191 if (m_top < stratum) in push()
1192 m_top = stratum; in push()
1194 if (stratum == process_stratum) in push()
1205 strata stratum = t->stratum (); in unpush() local
1207 if (stratum == dummy_stratum) in unpush()
[all …]
Dinferior.c79 gdb_assert (m_target_stack.top ()->stratum () == dummy_stratum); in ~inferior()
102 if (t->stratum () == process_stratum) in unpush_target()
128 inferior::pop_all_targets_above (enum strata stratum) in pop_all_targets_above() argument
136 while (top_target ()->stratum () > stratum) in pop_all_targets_above()
143 inferior::pop_all_targets_at_and_above (enum strata stratum) in pop_all_targets_at_and_above() argument
151 while (top_target ()->stratum () >= stratum) in pop_all_targets_at_and_above()
Dprocess-stratum-target.h36 strata stratum () const final override { return process_stratum; } in stratum() function
163 gdb_assert (target->stratum () == process_stratum); in as_process_stratum_target()
Dinferior.h444 void pop_all_targets_above (enum strata stratum);
449 void pop_all_targets_at_and_above (enum strata stratum);
457 target_ops *target_at (enum strata stratum) in target_at() argument
458 { return m_target_stack.at (stratum); } in target_at()
Drecord.c178 gdb_assert (t->stratum () == record_stratum); in record_disconnect()
193 gdb_assert (t->stratum () == record_stratum); in record_detach()
208 gdb_assert (t->stratum () == record_stratum); in record_mourn_inferior()
224 gdb_assert (t->stratum () == record_stratum); in record_kill()
Dscoped-mock-context.h64 gdb_assert (mock_target.stratum () == process_stratum); in scoped_mock_context()
/netbsd/src/external/bsd/ntp/dist/sntp/
Dnetworking.c241 PKT_MODE(rpkt->li_vn_mode), rpkt->stratum); in process_pkt()
245 if (STRATUM_PKT_UNSPEC == rpkt->stratum) { in process_pkt()
249 func_name, rpkt->stratum)); in process_pkt()
Dmain.c1140 x_pkt->stratum = STRATUM_TO_PKT(STRATUM_UNSPEC); in generate_pkt()
1178 int stratum; in handle_pkt() local
1262 stratum = rpkt->stratum; in handle_pkt()
1263 if (0 == stratum) in handle_pkt()
1264 stratum = 16; in handle_pkt()
1297 hostnameaddr(hostname, host), stratum, in handle_pkt()
/netbsd/src/external/bsd/ntp/dist/scripts/
DREADME18 ntpsweep prints per host given in <file> the NTP stratum level, the
22 ntptrace Trace ntp peers of a server up to stratum 1.
/netbsd/src/external/bsd/ntp/dist/ntpsnmpd/
Dntpv4-mib.mib103 "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."
/netbsd/src/external/bsd/ntp/dist/sntp/tests/
DpacketProcessing.c108 testpkt.p.stratum = STRATUM_REFCLOCK; in setUp()
343 testpkt.p.stratum = STRATUM_PKT_UNSPEC; in test_KoDRate()
357 testpkt.p.stratum = STRATUM_PKT_UNSPEC; in test_KoDDeny()

1234