summaryrefslogtreecommitdiff
path: root/include/ntp_psl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ntp_psl.h')
-rw-r--r--include/ntp_psl.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/ntp_psl.h b/include/ntp_psl.h
new file mode 100644
index 000000000000..a0c2662d44c7
--- /dev/null
+++ b/include/ntp_psl.h
@@ -0,0 +1,17 @@
+#ifndef NTP_PSL_H
+#define NTP_PSL_H
+
+
+/*
+ * Poll Skew List Item
+ */
+
+typedef struct psl_item_tag {
+ int sub; /* int or short? unsigned is OK, but why? */
+ int qty; /* int or short? unsigned is OK, but why? */
+ int msk; /* int or short? unsigned is OK */
+} psl_item;
+
+int get_pollskew(int, psl_item *);
+
+#endif /* !defined(NTP_PSL_H) */