summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd/ntpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ntpd/ntpd.h')
-rw-r--r--usr.sbin/ntpd/ntpd.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/ntpd/ntpd.h b/usr.sbin/ntpd/ntpd.h
index 71d309cb8b8..8bc4ec0fce2 100644
--- a/usr.sbin/ntpd/ntpd.h
+++ b/usr.sbin/ntpd/ntpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ntpd.h,v 1.6 2004/06/17 19:17:48 henning Exp $ */
+/* $OpenBSD: ntpd.h,v 1.7 2004/06/18 04:51:31 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -29,7 +29,9 @@
#define NTPD_USER "_ntp"
#define CONFFILE "/etc/ntpd.conf"
-#define READ_BUF_SIZE 65535
+#define READ_BUF_SIZE 65535
+#define IDX2PEER_RESERVE 5
+#define PFD_RESERVE 10
#define NTPD_OPT_VERBOSE 0x0001
#define NTPD_OPT_VERBOSE2 0x0002
@@ -159,7 +161,7 @@ int ntp_getmsg(char *, ssize_t, struct ntp_msg *);
int ntp_sendmsg(int, struct sockaddr *, struct ntp_msg *, ssize_t, int);
/* server.c */
-int setup_listeners(struct servent *, struct ntpd_conf *);
+int setup_listeners(struct servent *, struct ntpd_conf *, u_int *);
int ntp_reply(int, struct sockaddr *, struct ntp_msg *, int);
/* client.c */