1*eabc0478Schristos /* $NetBSD: ntp_psl.h,v 1.3 2024/08/18 20:46:50 christos Exp $ */ 2067f5680Schristos 3067f5680Schristos #ifndef NTP_PSL_H 4067f5680Schristos #define NTP_PSL_H 5067f5680Schristos 6067f5680Schristos 7067f5680Schristos /* 8067f5680Schristos * Poll Skew List Item 9*eabc0478Schristos * u_in32 is large enough for sub and qty so long as NTP_MAXPOLL < 31 10067f5680Schristos */ 11*eabc0478Schristos #if NTP_MAXPOLL >= 31 12*eabc0478Schristos #include "psl_item structure needs larger type" 13*eabc0478Schristos #endif 14067f5680Schristos typedef struct psl_item_tag { 15*eabc0478Schristos u_int32 sub; 16*eabc0478Schristos u_int32 qty; 17*eabc0478Schristos u_int32 msk; 18067f5680Schristos } psl_item; 19067f5680Schristos 20067f5680Schristos int get_pollskew(int, psl_item *); 21067f5680Schristos 22067f5680Schristos #endif /* !defined(NTP_PSL_H) */ 23