Searched refs:peer (Results 26 - 50 of 235) sorted by relevance

12345678910

/freebsd-11-stable/contrib/ntp/ntpd/
H A Drefclock_dumbclock.c77 static int dumbclock_start (int, struct peer *);
78 static void dumbclock_shutdown (int, struct peer *);
81 static void dumbclock_poll (int, struct peer *);
104 struct peer *peer
131 pp = peer->procptr;
134 pp->io.srcclock = peer;
160 peer->precision = PRECISION;
173 struct peer *peer
198 struct peer *peer; local
[all...]
H A Dntp_refclock.c36 * that the clock is actually a peer. As no packets are exchanged with
39 * refclock_transmit() and refclock_receive() maintain the peer
40 * variables in a state analogous to an actual peer and pass reference
55 * The support routines are passed a pointer to the peer structure,
56 * which is used for all peer-specific processing and contains a
58 * pointer to the unit structure, if used. The peer structure is
73 static void refclock_checkburst(struct peer *, struct refclockproc *);
155 struct peer *peer,
161 pp = peer
154 refclock_report( struct peer *peer, int code ) argument
1178 struct peer *peer; local
1293 struct peer *peer; local
1431 refclock_pps( struct peer *peer, struct refclock_atom *ap, int mode ) argument
1671 refclock_checkburst( struct peer * peer, struct refclockproc * pp ) argument
[all...]
H A Drefclock_acts.c221 static int acts_start (int, struct peer *);
222 static void acts_shutdown (int, struct peer *);
224 static void acts_message (struct peer *, const char *);
225 static void acts_timecode (struct peer *, const char *);
226 static void acts_poll (int, struct peer *);
227 static void acts_timeout (struct peer *, teModemState);
228 static void acts_timer (int, struct peer *);
229 static void acts_close (struct peer *);
250 struct peer *peer
319 struct peer *peer; local
362 acts_message( struct peer *peer, const char *msg ) argument
462 acts_timeout( struct peer *peer, teModemState dstate ) argument
725 acts_timecode( struct peer * peer, const char * str ) argument
[all...]
H A Drefclock_chronolog.c70 static int chronolog_start (int, struct peer *);
71 static void chronolog_shutdown (int, struct peer *);
73 static void chronolog_poll (int, struct peer *);
95 struct peer *peer
120 pp = peer->procptr;
123 pp->io.srcclock = peer;
137 peer->precision = PRECISION;
150 struct peer *peer
175 struct peer *peer; local
[all...]
H A Drefclock_fg.c37 static int fg_start (int, struct peer *);
38 static void fg_shutdown (int, struct peer *);
39 static void fg_poll (int, struct peer *);
47 int pollnum; /* Use peer.poll instead? */
94 struct peer *peer
120 pp = peer->procptr;
123 pp->io.srcclock = peer;
136 peer->precision = PRECISION;
146 refclock_report(peer, CEVNT_FAUL
221 struct peer *peer; local
[all...]
H A Drefclock_hopfser.c98 static int hopfserial_start (int, struct peer *);
99 static void hopfserial_shutdown (int, struct peer *);
101 static void hopfserial_poll (int, struct peer *);
122 struct peer *peer
150 pp = peer->procptr;
153 pp->io.srcclock = peer;
171 peer->precision = PRECISION;
187 struct peer *peer
215 struct peer *peer; local
[all...]
H A Drefclock_as2201.c132 static int as2201_start (int, struct peer *);
133 static void as2201_shutdown (int, struct peer *);
135 static void as2201_poll (int, struct peer *);
157 struct peer *peer
177 pp = peer->procptr;
179 pp->io.srcclock = peer;
193 peer->precision = PRECISION;
208 struct peer *peer
233 struct peer *peer; local
[all...]
H A Drefclock_ulink.c92 static int ulink_start (int, struct peer *);
93 static void ulink_shutdown (int, struct peer *);
95 static void ulink_poll (int, struct peer *);
117 struct peer *peer
138 pp = peer->procptr;
140 pp->io.srcclock = peer;
154 peer->precision = PRECISION;
167 struct peer *peer
192 struct peer *peer; local
[all...]
H A Drefclock_zyfer.c103 static int zyfer_start (int, struct peer *);
104 static void zyfer_shutdown (int, struct peer *);
106 static void zyfer_poll (int, struct peer *);
128 struct peer *peer
152 pp = peer->procptr;
154 pp->io.srcclock = peer;
168 peer->precision = PRECISION;
184 struct peer *peer
209 struct peer *peer; local
[all...]
H A Drefclock_irig.c274 static int irig_start (int, struct peer *);
275 static void irig_shutdown (int, struct peer *);
277 static void irig_poll (int, struct peer *);
282 static void irig_base (struct peer *, double);
283 static void irig_rf (struct peer *, double);
284 static void irig_baud (struct peer *, int);
285 static void irig_decode (struct peer *, int);
286 static void irig_gain (struct peer *);
308 struct peer *peer /* pee
410 struct peer *peer; local
506 irig_rf( struct peer *peer, double sample ) argument
585 irig_base( struct peer *peer, double sample ) argument
744 irig_baud( struct peer *peer, int bits ) argument
833 irig_decode( struct peer *peer, int bit ) argument
[all...]
H A Drefclock_datum.c130 struct peer *peer; /* peer used by ntp */ member in struct:datum_pts_unit
162 static int datum_pts_start (int, struct peer *);
163 static void datum_pts_shutdown (int, struct peer *);
164 static void datum_pts_poll (int, struct peer *);
166 struct refclockstat *, struct peer *);
168 static void datum_pts_buginfo (int, struct refclockbug *, struct peer *);
218 struct peer *peer
[all...]
H A Drefclock_gpsvme.c81 static int psc_start(int, struct peer *);
82 static void psc_shutdown(int, struct peer *);
83 static void psc_poll(int, struct peer *);
95 struct peer *peer
122 /* initialize peer variables */
123 pp = peer->procptr;
125 pp->io.srcclock = peer;
131 peer->precision = PRECISION;
145 struct peer *pee
[all...]
H A Drefclock_palisade.h183 static int palisade_start (int, struct peer *);
184 static void palisade_shutdown (int, struct peer *);
185 static void palisade_receive (struct peer *);
186 static void palisade_poll (int, struct peer *);
188 int palisade_configure (int, struct peer *);
189 int TSIP_decode (struct peer *);
H A Drefclock_chu.c403 static int chu_start (int, struct peer *);
404 static void chu_shutdown (int, struct peer *);
406 static void chu_second (int, struct peer *);
407 static void chu_poll (int, struct peer *);
412 static void chu_decode (struct peer *, int, l_fp);
413 static void chu_burst (struct peer *);
414 static void chu_clear (struct peer *);
415 static void chu_a (struct peer *, int);
416 static void chu_b (struct peer *, int);
418 static double chu_major (struct peer *);
622 struct peer *peer; local
657 struct peer *peer; local
731 chu_rf( struct peer *peer, double sample ) argument
970 struct peer *peer; local
985 chu_decode( struct peer *peer, int hexhex, l_fp cstamp ) argument
1093 chu_b( struct peer *peer, int nchar ) argument
1167 chu_a( struct peer *peer, int nchar ) argument
1524 chu_newchan( struct peer *peer, double met ) argument
[all...]
H A Drefclock_gpsdjson.c238 typedef struct peer peerT;
263 static void enter_opmode(peerT *peer, int mode);
264 static void leave_opmode(peerT *peer, int mode);
363 static void gpsd_init_socket(peerT * const peer);
364 static void gpsd_test_socket(peerT * const peer);
365 static void gpsd_stop_socket(peerT * const peer);
367 static void gpsd_parse(peerT * const peer,
372 static void log_data(peerT *peer, const char *what,
500 peerT * peer)
502 clockprocT * const pp = peer
498 gpsd_start( int unit, peerT * peer) argument
603 gpsd_shutdown( int unit, peerT * peer) argument
652 peerT * const peer = rbufp->recv_peer; local
763 gpsd_poll( int unit, peerT * peer) argument
881 gpsd_timer( int unit, peerT * peer) argument
899 enter_opmode( peerT *peer, int mode) argument
920 leave_opmode( peerT *peer, int mode) argument
1820 gpsd_stop_socket( peerT * const peer) argument
1848 gpsd_init_socket( peerT * const peer) argument
1954 gpsd_test_socket( peerT * const peer) argument
2173 log_data( peerT *peer, const char *what, const char *buf , size_t len ) argument
[all...]
H A Drefclock_arc.c208 This avoids ntpd syncing to another peer first and then
532 static void dummy_event_handler (struct peer *);
533 static void arc_event_handler (struct peer *);
544 static int arc_start (int, struct peer *);
545 static void arc_shutdown (int, struct peer *);
547 static void arc_poll (int, struct peer *);
565 peer->procptr->nextaction = current_time + QUEUETICK; \
571 struct peer *peer
592 struct peer *pee
875 struct peer *peer; local
[all...]
H A Drefclock_jupiter.c111 struct peer *peer; /* peer */ member in struct:instance
137 static void jupiter_debug (struct peer *, const char *,
142 static void jupiter_poll (int, struct peer *);
144 struct refclockstat *, struct peer *);
152 static void jupiter_shutdown(int, struct peer *);
153 static int jupiter_start (int, struct peer *);
154 static void jupiter_ticker (int, struct peer *);
175 struct peer *pee
247 jupiter_shutdown(int unit, struct peer *peer) argument
345 jupiter_ticker(int unit, struct peer *peer) argument
472 jupiter_poll(int unit, struct peer *peer) argument
532 struct peer * const peer = rbufp->recv_peer; local
766 jupiter_debug( struct peer * peer, const char * function, const char * fmt, ... ) argument
[all...]
H A Drefclock_wwv.c582 static int wwv_start (int, struct peer *);
583 static void wwv_shutdown (int, struct peer *);
585 static void wwv_poll (int, struct peer *);
590 static void wwv_epoch (struct peer *);
591 static void wwv_rf (struct peer *, double);
592 static void wwv_endpoc (struct peer *, int);
593 static void wwv_rsec (struct peer *, double);
594 static void wwv_qrz (struct peer *, struct sync *, int);
595 static void wwv_corr4 (struct peer *, struct decvec *,
597 static void wwv_gain (struct peer *);
790 struct peer *peer; local
922 wwv_rf( struct peer *peer, double isig ) argument
1295 wwv_qrz( struct peer *peer, struct sync *sp, int pdelay ) argument
1383 wwv_endpoc( struct peer *peer, int epopos ) argument
1746 wwv_rsec( struct peer *peer, double bit ) argument
2116 wwv_corr4( struct peer *peer, struct decvec *vp, double data[], double tab[][4] ) argument
2567 wwv_qsy( struct peer *peer, int chan ) argument
[all...]
/freebsd-11-stable/contrib/ntp/include/
H A Drefclock_atom.h15 extern int refclock_pps(struct peer *, struct refclock_atom *, int);
H A Dntpd.h64 extern u_short ctlpeerstatus (struct peer *);
69 extern void report_event (int, struct peer *, const char *);
70 extern int mprintf_event (int, struct peer *, const char *, ...)
113 extern endpt * select_peerinterface (struct peer *, sockaddr_u *,
149 extern int local_clock(struct peer *, double);
170 extern struct peer *findexistingpeer(sockaddr_u *, const char *,
171 struct peer *, int, u_char, int *);
172 extern struct peer *findpeer (struct recvbuf *, int, int *);
173 extern struct peer *findpeerbyassoc(associd_t);
174 extern void set_peerdstadr (struct peer *, endp
[all...]
H A Dntp_refclock.h98 struct peer *srcclock; /* refclock peer */
150 void (*action)(struct peer *); /* timeout callback */
200 int (*clock_start) (int, struct peer *);
201 void (*clock_shutdown) (int, struct peer *);
202 void (*clock_poll) (int, struct peer *);
204 struct refclockstat *, struct peer *);
206 void (*clock_buginfo) (int, struct refclockbug *, struct peer *);
207 void (*clock_timer) (int, struct peer *);
224 extern void refclock_timer (struct peer *);
[all...]
/freebsd-11-stable/usr.bin/tftp/
H A Dtftp.c70 xmitfile(int peer, char *port, int fd, char *name, char *mode) argument
100 n = send_wrq(peer, name, mode);
110 n = receive_packet(peer, recvbuffer,
146 send_error(peer, EBADOP);
150 parse_options(peer, rp->th_stuff, n + 2);
159 tftp_send(peer, &block, &tftp_stats);
172 recvfile(int peer, char *port, int fd, char *name, char *mode) argument
200 n = send_rrq(peer, name, mode);
210 n = receive_packet(peer, recvbuffer,
251 send_error(peer, EBADO
[all...]
/freebsd-11-stable/usr.sbin/ngctl/
H A Dshow.c123 struct nodeinfo *const peer = &hlist->link[k].nodeinfo; local
126 if (!*peer->name) {
127 snprintf(peer->name, sizeof(peer->name),
130 snprintf(idbuf, sizeof(idbuf), "%08x", peer->id);
131 printf(FMT, link->ourhook, peer->name,
132 peer->type, idbuf, link->peerhook);
/freebsd-11-stable/libexec/tftpd/
H A Dtftp-file.h37 int synchnet(int peer);
/freebsd-11-stable/contrib/bsnmp/snmpd/
H A Dtrans_lsock.h43 struct sockaddr_un peer; member in struct:lsock_peer

Completed in 333 milliseconds

12345678910