mirror of
https://github.com/opnsense/src.git
synced 2026-04-05 09:25:25 -04:00
Reviewed by: roberto Security: VUXML: 4033d826-87dd-11e4-9079-3c970e169bc2 Security: http://www.kb.cert.org/vuls/id/852879 Security: CVE-2014-9293 Security CVE-2014-9294 Security CVE-2014-9295 Security CVE-2014-9296
15 lines
449 B
C
15 lines
449 B
C
/*
|
|
* Definitions for the atom driver and its friends
|
|
*/
|
|
#undef NANOSECOND /* some systems define it differently */
|
|
#define NANOSECOND 1000000000 /* one second (ns) */
|
|
|
|
struct refclock_atom {
|
|
pps_handle_t handle;
|
|
pps_params_t pps_params;
|
|
struct timespec ts;
|
|
};
|
|
|
|
extern int refclock_ppsapi(int, struct refclock_atom *);
|
|
extern int refclock_params(int, struct refclock_atom *);
|
|
extern int refclock_pps(struct peer *, struct refclock_atom *, int);
|