| /freebsd-12.1/contrib/ntp/libntp/ |
| H A D | numtoa.c | 39 u_int32 refid, in refid_str() argument 47 return numtoa(refid); in refid_str() 51 memcpy(&text[1], &refid, sizeof(refid)); in refid_str() 52 text[1 + sizeof(refid)] = '\0'; in refid_str()
|
| /freebsd-12.1/contrib/ntp/conf/ |
| H A D | rackety.conf | 14 fudge 127.127.4.0 refid GPS1 time1 -.000097 flag1 1 16 fudge 127.127.4.1 refid GPS2 time1 -.000097 flag1 1 19 fudge 127.127.4.2 refid WVB1 time1 .0021 flag4 1 flag1 1 22 fudge 127.127.4.3 refid WVB2 time1 .0021 flag4 1 flag1 1
|
| H A D | pogo.conf | 6 fudge 127.127.6.1 refid GPS1 time1 -.002777 flag2 1 9 fudge 127.127.4.1 refid GPS2 time1 .000221
|
| /freebsd-12.1/contrib/ntp/ntpd/ |
| H A D | refclock_pst.c | 157 memcpy((char *)&pp->refid, WWVREFID, 4); in pst_start() 256 memcpy((char *)&pp->refid, WWVHREFID, 4); in pst_receive() 258 memcpy((char *)&pp->refid, WWVREFID, 4); in pst_receive() 260 peer->refid = pp->refid; in pst_receive()
|
| H A D | refclock_tsyncpci.c | 354 strncpy((char *)&pp->refid, TSYNC_REF_LOCAL, TSYNC_REF_LEN); in tsync_start() 726 strncpy((char *)&pp->refid, RefIdLookupTbl[j].pRefId, in tsync_poll() 728 peer->refid = pp->refid; in tsync_poll() 737 pp->refid = up->refId; in tsync_poll() 738 peer->refid = pp->refid; in tsync_poll() 748 strncpy((char *)&pp->refid, TSYNC_REF_LOCAL, TSYNC_REF_LEN); in tsync_poll() 749 peer->refid = pp->refid; in tsync_poll()
|
| H A D | refclock_leitch.c | 112 static u_int32 refid[MAXUNITS]; variable 135 memcpy((char *)&refid[i], LEITCHREFID, 4); in leitch_init() 213 refid[unit] = in->fudgeval2; in leitch_control() 219 peer->refid = refid[unit]; in leitch_control() 228 out->fudgeval2 = refid[unit]; in leitch_control() 372 peer->refid = refid[unit]; in leitch_start()
|
| H A D | refclock_acts.c | 274 memcpy(&pp->refid, REFID, 4); in acts_start() 791 memcpy(&pp->refid, REFACTS, 4); in acts_timecode() 815 memcpy(&pp->refid, REFUSNO, 4); in acts_timecode() 839 memcpy(&pp->refid, REFPTB, 4); in acts_timecode() 857 memcpy(&pp->refid, REFWWVB, 4); in acts_timecode() 878 memcpy(&pp->refid, REFWWVB, 4); in acts_timecode() 896 peer->refid = pp->refid; in acts_timecode()
|
| H A D | refclock_wwv.c | 496 char refid[5]; /* reference identifier */ member 1356 up->status, up->gain, sp->refid, in wwv_qrz() 1864 sp->refid, sp->reach & 0xffff, in wwv_rsec() 1866 rp->refid, rp->reach & 0xffff, in wwv_rsec() 2451 memcpy(&pp->refid, sp->refid, 4); in wwv_newchan() 2452 peer->refid = pp->refid; in wwv_newchan() 2523 snprintf(cp->wwv.refid, sizeof(cp->wwv.refid), "WV%.0f", in wwv_newgame() 2526 snprintf(cp->wwvh.refid, sizeof(cp->wwvh.refid), "WH%.0f", in wwv_newgame() 2655 up->watch, up->mitig[up->dchan].gain, sp->refid, in timecode()
|
| H A D | ntp_proto.c | 273 u_int32 refid in kiss_code_check() argument 1288 pkt->refid, in receive() 1360 pkt->refid, in receive() 2548 p_del, p_disp, pkt->refid, in process_packet() 2556 peer->refid = pkt->refid; /* network byte order */ in process_packet() 2845 sys_refid = peer->refid; in clock_update() 3223 memcpy(&peer->refid, ident, 4); in peer_clear() 4070 xpkt.refid = sys_refid; in peer_xmit() 4576 xpkt.refid = sys_refid; in fast_xmit() 4634 ntohl(xpkt.refid), in fast_xmit() [all …]
|
| H A D | refclock_arc.c | 732 memcpy((char *)&pp->refid, REFID_MSF, 4); in arc_start() 735 memcpy((char *)&pp->refid, REFID_DCF77, 4); in arc_start() 738 memcpy((char *)&pp->refid, REFID_WWVB, 4); in arc_start() 741 memcpy((char *)&pp->refid, REFID, 4); in arc_start()
|
| H A D | ntp_refclock.c | 296 peer->refid = pp->refid; in refclock_newpeer() 1211 peer->refid = pp->refid = in->fudgeval2; in refclock_control() 1237 out->fudgeval2 = pp->refid; in refclock_control()
|
| H A D | refclock_local.c | 124 memcpy(&pp->refid, "LOCL", 4); in local_start()
|
| H A D | refclock_atom.c | 134 memcpy((char *)&pp->refid, REFID, 4); in atom_start()
|
| H A D | refclock_tpro.c | 103 memcpy((char *)&pp->refid, REFID, 4); in tpro_start()
|
| /freebsd-12.1/usr.sbin/ntp/scripts/ |
| H A D | ntptrace | 31 $refid = $1 if (/refid=([^\s,]+)/); 47 printf(", refid '%s'", $refid) if ($stratum == 1); 50 last if ($refid =~ /^127\.127\.\d{1,3}\.\d{1,3}$/);
|
| /freebsd-12.1/contrib/tcpdump/ |
| H A D | print-ntp.c | 123 uint32_t refid; member 254 ND_TCHECK(bp->refid); in ntp_print() 264 if (fn_printn(ndo, (const u_char *)&(bp->refid), 4, ndo->ndo_snapend)) in ntp_print() 269 ND_PRINT((ndo, "%s INFO_QUERY", ipaddr_string(ndo, &(bp->refid)))); in ntp_print() 274 ND_PRINT((ndo, "%s INFO_REPLY", ipaddr_string(ndo, &(bp->refid)))); in ntp_print() 279 ND_PRINT((ndo, "%s", ipaddr_string(ndo, &(bp->refid)))); in ntp_print()
|
| /freebsd-12.1/contrib/ntp/ |
| H A D | results.y2kfixes | 11 timemaster.att.com: stratum 1, offset -0.004876, synch distance 0.03485, refid 'GPS' 22 timemaster.att.com: stratum 1, offset -0.006355, synch distance 0.04178, refid 'GPS' 33 timemaster.att.com: stratum 1, offset -0.010803, synch distance 0.03078, refid 'GPS' 44 timemaster.att.com: stratum 1, offset -0.013598, synch distance 0.03116, refid 'GPS'
|
| H A D | README.leapsmear | 75 a specially-formatted 'refid' in time packets that contain "smeared" time. 76 This refid is of the form 254.x.y.z, where x.y.z are 24 encoded bits of the 83 the refid, one can also determine if the server is offering smeared time or 177 system time at all. Only the timestamps and refid in outgoing reply packets 181 the normal refid, as usual. 260 precision=-18, rootdelay=0.000, rootdisp=1.075, refid=MRS, 271 leapsmearoffset of -.932087, the refid reported in smeared packets would be
|
| /freebsd-12.1/contrib/ntp/scripts/ntptrace/ |
| H A D | ntptrace.in | 37 printf ", refid '%s'", $info{refid} if $info{stratum} == 1; 42 last if $info{refid} =~ /^127\.127\.\d{1,3}\.\d{1,3}$/;
|
| /freebsd-12.1/contrib/ntp/scripts/monitoring/ |
| H A D | ntptrap | 360 ($refid) = ($data =~ /refid=([\w\.]+)/); 361 $msg .= "stratum=$stratum refid=$refid"; 362 if ($refid =~ /\[?(\d+)\.(\d+)\.(\d+)\.(\d+)/)
|
| /freebsd-12.1/contrib/ntp/sntp/tests/ |
| H A D | packetProcessing.c | 116 memcpy(&testpkt.p.refid, "GPS\0", 4); in setUp() 337 memcpy(&testpkt.p.refid, "RATE", 4); in test_KoDRate() 351 memcpy(&testpkt.p.refid, "DENY", 4); in test_KoDDeny()
|
| /freebsd-12.1/contrib/ntp/ntpdate/ |
| H A D | ntpdate.h | 26 u_int32 refid; /* peer reference ID */ member
|
| H A D | ntpdate.c | 700 xpkt.refid = htonl(NTPDATE_REFID); in transmit() 842 !memcmp("RATE", &rpkt->refid, 4)) { in receive() 858 server->refid = rpkt->refid; in receive() 2176 str = (char *) &pp->refid; in print_server() 2183 str = numtoa(pp->refid); in print_server()
|
| /freebsd-12.1/contrib/ntp/ntpq/ |
| H A D | invoke-ntpq.texi | 312 @code{refid} 488 @code{refid}. 515 @item @code{refid} 712 @item @code{refid} 801 @item @code{refid} 906 @item @code{refid} 925 * ntpq refid:: refid option (-r) 986 The valid "refid" option keywords are: 1097 @node ntpq refid 1098 @subsection refid option (-r) [all …]
|
| /freebsd-12.1/contrib/ntp/sntp/ |
| H A D | networking.h | 61 u_int32 refid; member
|