Searched refs:refid (Results 1 - 25 of 69) sorted by relevance

123

/freebsd-10.1-release/contrib/ntp/libntp/
H A Dnumtoa.c36 /* Convert a refid & stratum to a string */
39 u_int32 refid,
47 return numtoa(refid);
51 memcpy(&text[1], &refid, sizeof(refid));
52 text[1 + sizeof(refid)] = '\0';
38 refid_str( u_int32 refid, int stratum ) argument
/freebsd-10.1-release/usr.sbin/ntp/scripts/
H A Dntptrace31 $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-10.1-release/contrib/ntp/conf/
H A Drackety.conf14 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 Dpogo.conf6 fudge 127.127.6.1 refid GPS1 time1 -.002777 flag2 1
9 fudge 127.127.4.1 refid GPS2 time1 .000221
/freebsd-10.1-release/contrib/ntp/ntpd/
H A Drefclock_pst.c157 memcpy((char *)&pp->refid, WWVREFID, 4);
256 memcpy((char *)&pp->refid, WWVHREFID, 4);
258 memcpy((char *)&pp->refid, WWVREFID, 4);
260 peer->refid = pp->refid;
H A Drefclock_leitch.c112 static u_int32 refid[MAXUNITS]; variable
135 memcpy((char *)&refid[i], LEITCHREFID, 4);
213 refid[unit] = in->fudgeval2;
219 peer->refid = refid[unit];
228 out->fudgeval2 = refid[unit];
372 peer->refid = refid[unit];
H A Drefclock_tsyncpci.c352 * what our actual refid is yet.
354 strncpy((char *)&pp->refid, TSYNC_REF_LOCAL, TSYNC_REF_LEN);
726 strncpy((char *)&pp->refid, RefIdLookupTbl[j].pRefId,
728 peer->refid = pp->refid;
737 pp->refid = up->refId;
738 peer->refid = pp->refid;
748 strncpy((char *)&pp->refid, TSYNC_REF_LOCAL, TSYNC_REF_LEN);
749 peer->refid
[all...]
H A Drefclock_acts.c274 memcpy(&pp->refid, REFID, 4);
791 memcpy(&pp->refid, REFACTS, 4);
815 memcpy(&pp->refid, REFUSNO, 4);
839 memcpy(&pp->refid, REFPTB, 4);
857 memcpy(&pp->refid, REFWWVB, 4);
878 memcpy(&pp->refid, REFWWVB, 4);
896 peer->refid = pp->refid;
H A Drefclock_local.c124 memcpy(&pp->refid, "LOCL", 4);
H A Drefclock_atom.c134 memcpy((char *)&pp->refid, REFID, 4);
H A Drefclock_wwv.c496 char refid[5]; /* reference identifier */ member in struct:sync
1356 up->status, up->gain, sp->refid,
1864 sp->refid, sp->reach & 0xffff,
1866 rp->refid, rp->reach & 0xffff,
2451 memcpy(&pp->refid, sp->refid, 4);
2452 peer->refid = pp->refid;
2502 * NOTINSYNC and the refid "NONE".
2523 snprintf(cp->wwv.refid, sizeo
[all...]
H A Drefclock_heath.c245 memcpy(&pp->refid, REFID, 4);
H A Drefclock_hopfpci.c153 memcpy((char *)&pp->refid, REFID, 4);
H A Drefclock_zyfer.c169 memcpy((char *)&pp->refid, REFID, 4);
H A Drefclock_tt560.c127 memcpy((char *)&pp->refid, REFID, 4);
H A Drefclock_tpro.c103 memcpy((char *)&pp->refid, REFID, 4);
H A Drefclock_pcf.c103 memcpy((char *)&pp->refid, REFID, 4);
/freebsd-10.1-release/contrib/tcpdump/
H A Dntp.h85 u_int32_t refid; member in struct:ntpdata
H A Dprint-ntp.c136 TCHECK(bp->refid);
146 if (fn_printn((u_char *)&(bp->refid), 4, snapend))
151 printf("%s INFO_QUERY", ipaddr_string(&(bp->refid)));
156 printf("%s INFO_REPLY", ipaddr_string(&(bp->refid)));
161 printf("%s", ipaddr_string(&(bp->refid)));
/freebsd-10.1-release/contrib/ntp/scripts/ntptrace/
H A Dntptrace.in37 printf ", refid '%s'", $info{refid} if $info{stratum} == 1;
42 last if $info{refid} =~ /^127\.127\.\d{1,3}\.\d{1,3}$/;
/freebsd-10.1-release/contrib/ntp/ntpdate/
H A Dntpdate.h26 u_int32 refid; /* peer reference ID */ member in struct:server
/freebsd-10.1-release/contrib/ntp/scripts/monitoring/
H A Dntptrap360 ($refid) = ($data =~ /refid=([\w\.]+)/);
361 $msg .= "stratum=$stratum refid=$refid";
362 if ($refid =~ /\[?(\d+)\.(\d+)\.(\d+)\.(\d+)/)
/freebsd-10.1-release/contrib/ntp/sntp/tests/
H A DpacketProcessing.c112 memcpy(&testpkt.p.refid, "GPS\0", 4);
333 memcpy(&testpkt.p.refid, "RATE", 4);
347 memcpy(&testpkt.p.refid, "DENY", 4);
/freebsd-10.1-release/contrib/ntp/scripts/lib/NTP/
H A DUtil.pm103 my @columns = qw(tally host refid st t when poll reach delay offset jitter);
/freebsd-10.1-release/contrib/ntp/sntp/
H A Dnetworking.h61 u_int32 refid; member in struct:speer

Completed in 246 milliseconds

123