Lines Matching defs:peer
94 static int hopfserial_start (int, struct peer *);
95 static void hopfserial_shutdown (int, struct peer *);
97 static void hopfserial_poll (int, struct peer *);
118 struct peer *peer
131 fd = refclock_open(&peer->srcadr, gpsdev, SPEED232, LDISC_CLK);
146 pp = peer->procptr;
149 pp->io.srcclock = peer;
167 peer->precision = PRECISION;
183 struct peer *peer
189 pp = peer->procptr;
211 struct peer *peer;
222 peer = rbufp->recv_peer;
223 pp = peer->procptr;
264 refclock_report(peer, CEVNT_BADREPLY);
295 refclock_report(peer, CEVNT_BADTIME);
304 refclock_report(peer, CEVNT_BADTIME);
316 refclock_report(peer, CEVNT_BADTIME);
324 refclock_report(peer, CEVNT_BADTIME);
328 refclock_receive(peer);
334 record_clock_stats(&peer->srcadr, pp->a_lastcode);
347 struct peer *peer
352 pp = peer->procptr;
360 record_clock_stats(&peer->srcadr, pp->a_lastcode);