xref: /freebsd/contrib/ntp/include/ntp_psl.h (revision 357378bbdedf24ce2b90e9bd831af4a9db3ec70a)
1 #ifndef NTP_PSL_H
2 #define NTP_PSL_H
3 
4 
5 /*
6  * Poll Skew List Item
7  * u_in32 is large enough for sub and qty so long as NTP_MAXPOLL < 31
8  */
9 #if NTP_MAXPOLL >= 31
10 #include "psl_item structure needs larger type"
11 #endif
12 typedef struct psl_item_tag {
13 	u_int32	sub;
14 	u_int32	qty;
15 	u_int32	msk;
16 } psl_item;
17 
18 int get_pollskew(int, psl_item *);
19 
20 #endif	/* !defined(NTP_PSL_H) */
21