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

123

/freebsd-9.3-release/usr.sbin/ntp/ntpdc/
H A Dnl.c168 printf("offsetof(refid) = %d\n",
169 (int) offsetof(struct info_peer, refid));
312 printf("offsetof(refid) = %d\n",
313 (int) offsetof(struct info_sys, refid));
/freebsd-9.3-release/contrib/ntp/ntpd/
H A Drefclock_shm.c236 memcpy((char *)&pp->refid, REFID, 4);
H A Drefclock_irig.c354 memcpy((char *)&pp->refid, REFID, 4);
H A Drefclock_true.c124 * refid - refid assigned to this clock (default = "TRUE", see below)
310 memcpy(&pp->refid, REFID, 4);
H A Dntp_control.c343 { CS_REFID, RO, "refid" }, /* 6 */
508 { CP_REFID, RO, "refid" }, /* 16 */
622 { CC_FUDGEVAL2, RO, "refid" }, /* 10 */
1828 * ctl_putrefid - send a u_int32 refid as printable text
1833 u_int32 refid
1853 iptr = (char *)&refid;
1854 iplim = iptr + sizeof(refid);
2704 ctl_putrefid(peer_var[id].text, p->refid);
2709 ctl_putadr(peer_var[id].text, p->refid,
2712 ctl_putrefid(peer_var[id].text, p->refid);
[all...]
H A Dntp_request.c907 ip->refid = pp->refid;
1097 is->refid = sys_refid;
H A Drefclock_mx4200.c246 memcpy((char *)&pp->refid, REFID, 4);
H A Drefclock_neoclock4x.c315 memcpy((char *)&pp->refid, "neol", 4);
H A Drefclock_nmea.c471 memcpy(&pp->refid, REFID, 4);
H A Drefclock_palisade.c367 memcpy((char *)&pp->refid, REFID, 4);
H A Drefclock_jupiter.c225 memcpy((char *)&pp->refid, REFID, 4);
H A Drefclock_jjy.c541 memcpy( (char*)&pp->refid, REFID, strlen(REFID) ) ;
H A Drefclock_gpsdjson.c559 memcpy(&pp->refid, REFID, 4);
H A Drefclock_parse.c1529 #define PARSEHSREFID 0x7f7f08ff /* 127.127.8.255 refid for hi strata */
3082 memmove((char *)&parse->generic->refid, parse->parse_type->cl_id, 4);
3084 parse->generic->refid = htonl(PARSEHSREFID);
H A Drefclock_ripencc.c525 memcpy((char *)&pp->refid, REFID, REFID_LEN);
H A Drefclock_oncore.c634 memcpy((char *)&pp->refid, "GPS\0", (size_t) 4);
/freebsd-9.3-release/contrib/ntp/include/
H A Dntpd.h291 extern void record_raw_stats (sockaddr_u *srcadr, sockaddr_u *dstadr, l_fp *t1, l_fp *t2, l_fp *t3, l_fp *t4, int leap, int version, int mode, int stratum, int ppoll, int precision, double root_delay, double root_dispersion, u_int32 refid);
/freebsd-9.3-release/contrib/ntp/ntpdc/
H A Dntpdc_ops.c509 /* Convert a refid & stratum (in host order) to a string */
512 u_int32 refid,
519 memcpy(junk, &refid, 4);
523 return numtoa(refid);
601 "leap %c%c, refid [%s], rootdistance %s, rootdispersion %s\n",
604 refid_string(pp->refid, pp->stratum), fptoa(NTOHS_FP(pp->rootdelay), 5),
988 refid_string(is->refid, is->stratum));
511 refid_string( u_int32 refid, int stratum ) argument
/freebsd-9.3-release/contrib/ntp/sntp/
H A Dmain.c1198 ref = (char *)&rpkt->refid;

Completed in 202 milliseconds

123