xref: /netbsd-src/external/bsd/ntp/dist/include/ntp_psl.h (revision 3117ece4fc4a4ca4489ba793710b60b0d26bab6c)
1 /*	$NetBSD: ntp_psl.h,v 1.3 2024/08/18 20:46:50 christos Exp $	*/
2 
3 #ifndef NTP_PSL_H
4 #define NTP_PSL_H
5 
6 
7 /*
8  * Poll Skew List Item
9  * u_in32 is large enough for sub and qty so long as NTP_MAXPOLL < 31
10  */
11 #if NTP_MAXPOLL >= 31
12 #include "psl_item structure needs larger type"
13 #endif
14 typedef struct psl_item_tag {
15 	u_int32	sub;
16 	u_int32	qty;
17 	u_int32	msk;
18 } psl_item;
19 
20 int get_pollskew(int, psl_item *);
21 
22 #endif	/* !defined(NTP_PSL_H) */
23