| /src/external/bsd/ntp/dist/libntp/ |
| numtoa.c | 39 * Convert a refid & stratum to a string. If stratum is negative and the 40 * refid consists entirely of graphic chars, up to an optional 45 u_int32 refid, 55 * ntpd can have stratum = 0 and refid 127.0.0.1 in orphan mode. 56 * https://bugs.ntp.org/3854. Mirror the refid logic in timer(). 58 if (0 == stratum && LOOPBACKADR_N == refid) { 65 memcpy(&text[1], &refid, sizeof(refid)); 66 text[1 + sizeof(refid)] = '\0'; 73 * This refid is expected to be up to 4 printable ASCII [all...] |
| /src/external/bsd/ntp/dist/conf/ |
| 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
|
| pogo.conf | 6 fudge 127.127.6.1 refid GPS1 time1 -.002777 flag2 1 9 fudge 127.127.4.1 refid GPS2 time1 .000221
|
| /src/external/bsd/ntp/dist/ntpd/ |
| refclock_pst.c | 159 memcpy((char *)&pp->refid, WWVREFID, 4); 258 memcpy((char *)&pp->refid, WWVHREFID, 4); 260 memcpy((char *)&pp->refid, WWVREFID, 4); 262 peer->refid = pp->refid;
|
| refclock_acts.c | 138 #define REFID "NONE" /* default reference ID */ 270 memcpy(&pp->refid, REFID, 4); 783 memcpy(&pp->refid, REFACTS, 4); 807 memcpy(&pp->refid, REFUSNO, 4); 831 memcpy(&pp->refid, REFPTB, 4); 849 memcpy(&pp->refid, REFWWVB, 4); 870 memcpy(&pp->refid, REFWWVB, 4); 888 peer->refid = pp->refid; [all...] |
| refclock_leitch.c | 114 static u_int32 refid[MAXUNITS]; variable 137 memcpy((char *)&refid[i], LEITCHREFID, 4); 215 refid[unit] = in->fudgeval2; 221 peer->refid = refid[unit]; 230 out->fudgeval2 = refid[unit]; 374 peer->refid = refid[unit];
|
| refclock_tsyncpci.c | 162 unsigned int refId; 250 uint32_t refId; // Host peer reference ID 348 strncpy((char *)&up->refId, TSYNC_REF_LOCAL, TSYNC_REF_LEN); 353 /* Declare our refId as local in the beginning because we do not know 354 * what our actual refid is yet. 356 strncpy((char *)&pp->refid, TSYNC_REF_LOCAL, TSYNC_REF_LEN); 570 // Search RefID table 581 // Search RefID table 709 up->refId = addr2refid(&sys_peer->srcadr); 719 strncpy((char *)&up->refId, RefIdLookupTbl[j].pRefId [all...] |
| refclock_local.c | 126 memcpy(&pp->refid, "LOCL", 4);
|
| refclock_atom.c | 83 #define REFID "PPS\0" /* reference ID */ 136 memcpy((char *)&pp->refid, REFID, 4);
|
| refclock_wwv.c | 498 char refid[5]; /* reference identifier */ member in struct:sync 1358 up->status, up->gain, sp->refid, 1866 sp->refid, sp->reach & 0xffff, 1868 rp->refid, rp->reach & 0xffff, 2453 memcpy(&pp->refid, sp->refid, 4); 2454 peer->refid = pp->refid; 2504 * NOTINSYNC and the refid "NONE". 2525 snprintf(cp->wwv.refid, sizeof(cp->wwv.refid), "WV%.0f" [all...] |
| ntp_proto.c | 211 int kiss_code_check(u_char hisleap, u_char hisstratum, u_char hismode, u_int32 refid); 275 u_int32 refid 282 if(memcmp(&refid,"RATE", 4) == 0) { 284 } else if(memcmp(&refid,"DENY", 4) == 0) { 286 } else if(memcmp(&refid,"RSTR", 4) == 0) { 288 } else if(memcmp(&refid,"X", 1) == 0) { 1332 pkt->refid, 1382 || rbufp->dstadr->addr_refid == pkt->refid 1385 &&rbufp->dstadr->old_refid == pkt->refid) 1388 DPRINTF(2, ("receive: sys leap: %0x, sys_stratum %d > hisstratum+1 %d, !sys_cohort %d && sys_stratum == hisstratum+1, loop refid %#x == pkt refid %#x\n", sys_leap, sys_stratum, hisstratum + 1, !sys_cohort, rbufp->dstadr->addr_r (…) [all...] |
| refclock_heath.c | 167 #define REFID "WWV\0" /* reference ID */ 247 memcpy(&pp->refid, REFID, 4);
|
| refclock_hopfpci.c | 66 #define REFID "hopf" /* reference ID */ 155 memcpy((char *)&pp->refid, REFID, 4);
|
| refclock_pcf.c | 35 #define REFID "PCF" 105 memcpy((char *)&pp->refid, REFID, 4);
|
| refclock_tpro.c | 34 #define REFID "IRIG" /* reference ID */ 105 memcpy((char *)&pp->refid, REFID, 4);
|
| refclock_tt560.c | 32 #define REFID "IRIG" /* reference ID */ 129 memcpy((char *)&pp->refid, REFID, 4);
|
| /src/external/bsd/ntp/dist/scripts/ntptrace/ |
| ntptrace.in | 39 printf ", refid '%s'", $info{refid} if $info{stratum} == 1; 44 last if $info{refid} =~ /^127\.127\.\d{1,3}\.\d{1,3}$/;
|
| ntptrace-opts.def | 57 stratum 1, offset 0.0019298, synch distance 0.011993, refid 'WWVB'
|
| /src/external/bsd/tcpdump/dist/ |
| print-ntp.c | 106 nd_uint32_t refid; member in struct:ntp_time_data 256 ND_TCHECK_4(bp->refid); 266 if (nd_printn(ndo, (const u_char *)&(bp->refid), 4, ndo->ndo_snapend)) 271 ND_PRINT("%s INFO_QUERY", GET_IPADDR_STRING(bp->refid)); 276 ND_PRINT("%s INFO_REPLY", GET_IPADDR_STRING(bp->refid)); 281 /* In NTPv4 (RFC 5905) refid is an IPv4 address or first 32 bits of 283 ND_PRINT("0x%08x", GET_BE_U_4(bp->refid));
|
| /src/external/bsd/ntp/dist/ntpdate/ |
| ntpdate.h | 28 u_int32 refid; /* peer reference ID */ member in struct:server
|
| /src/external/bsd/ntp/dist/scripts/monitoring/ |
| ntptrap | 360 ($refid) = ($data =~ /refid=([\w\.]+)/); 361 $msg .= "stratum=$stratum refid=$refid"; 362 if ($refid =~ /\[?(\d+)\.(\d+)\.(\d+)\.(\d+)/)
|
| /src/external/bsd/ntp/dist/sntp/ |
| networking.h | 63 u_int32 refid; member in struct:speer
|
| networking.c | 250 ref_char = (char *) &rpkt->refid; 251 TRACE(1, ("%s: Packet refid: %c%c%c%c\n", func_name,
|
| /src/external/bsd/ntp/dist/sntp/tests/ |
| packetProcessing.c | 109 memcpy(&testpkt.p.refid, "GPS\0", 4); 344 memcpy(&testpkt.p.refid, "RATE", 4); 358 memcpy(&testpkt.p.refid, "DENY", 4);
|
| /src/external/bsd/ntp/dist/include/ |
| ntp_refclock.h | 181 u_int32 refid; /* reference identifier */ member in struct:refclockproc
|