Changeset View
Changeset View
Standalone View
Standalone View
head/contrib/ntp/include/ntp_refclock.h
Show First 20 Lines • Show All 214 Lines • ▼ Show 20 Lines | |||||
extern void io_closeclock (struct refclockio *); | extern void io_closeclock (struct refclockio *); | ||||
#ifdef REFCLOCK | #ifdef REFCLOCK | ||||
extern void refclock_buginfo(sockaddr_u *, | extern void refclock_buginfo(sockaddr_u *, | ||||
struct refclockbug *); | struct refclockbug *); | ||||
extern void refclock_control(sockaddr_u *, | extern void refclock_control(sockaddr_u *, | ||||
const struct refclockstat *, | const struct refclockstat *, | ||||
struct refclockstat *); | struct refclockstat *); | ||||
extern int refclock_open (char *, u_int, u_int); | extern int refclock_open (const char *, u_int, u_int); | ||||
extern int refclock_setup (int, u_int, u_int); | extern int refclock_setup (int, u_int, u_int); | ||||
extern void refclock_timer (struct peer *); | extern void refclock_timer (struct peer *); | ||||
extern void refclock_transmit(struct peer *); | extern void refclock_transmit(struct peer *); | ||||
extern int refclock_process(struct refclockproc *); | extern int refclock_process(struct refclockproc *); | ||||
extern int refclock_process_f(struct refclockproc *, double); | extern int refclock_process_f(struct refclockproc *, double); | ||||
extern void refclock_process_offset(struct refclockproc *, l_fp, | extern void refclock_process_offset(struct refclockproc *, l_fp, | ||||
l_fp, double); | l_fp, double); | ||||
extern void refclock_report (struct peer *, int); | extern void refclock_report (struct peer *, int); | ||||
extern int refclock_gtlin (struct recvbuf *, char *, int, l_fp *); | extern int refclock_gtlin (struct recvbuf *, char *, int, l_fp *); | ||||
extern int refclock_gtraw (struct recvbuf *, char *, int, l_fp *); | extern int refclock_gtraw (struct recvbuf *, char *, int, l_fp *); | ||||
extern int indicate_refclock_packet(struct refclockio *, | extern int indicate_refclock_packet(struct refclockio *, | ||||
struct recvbuf *); | struct recvbuf *); | ||||
extern void process_refclock_packet(struct recvbuf *); | extern void process_refclock_packet(struct recvbuf *); | ||||
#endif /* REFCLOCK */ | #endif /* REFCLOCK */ | ||||
#endif /* NTP_REFCLOCK_H */ | #endif /* NTP_REFCLOCK_H */ |