refclock_atom.h revision 1.1
1/* $NetBSD: refclock_atom.h,v 1.1 2009/12/13 16:54:54 kardel Exp $ */ 2 3/* 4 * Definitions for the atom driver and its friends 5 */ 6#define NANOSECOND 1000000000 /* one second (ns) */ 7#define RANGEGATE 500000 /* range gate (ns) */ 8 9struct refclock_atom { 10 pps_handle_t handle; 11 pps_params_t pps_params; 12 struct timespec ts; 13}; 14 15extern int refclock_ppsapi(int, struct refclock_atom *); 16extern int refclock_params(int, struct refclock_atom *); 17extern int refclock_pps(struct peer *, struct refclock_atom *, int); 18