]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/ntp/include/ntp_psl.h
Fix multiple denial of service in ntpd.
[FreeBSD/FreeBSD.git] / contrib / ntp / include / ntp_psl.h
1 #ifndef NTP_PSL_H
2 #define NTP_PSL_H
3
4
5 /*
6  * Poll Skew List Item
7  */
8
9 typedef struct psl_item_tag {
10         int             sub;    /* int or short?  unsigned is OK, but why? */
11         int             qty;    /* int or short?  unsigned is OK, but why? */
12         int             msk;    /* int or short?  unsigned is OK */
13 } psl_item;
14
15 int get_pollskew(int, psl_item *);
16
17 #endif  /* !defined(NTP_PSL_H) */