diff options
author | Alexander Guy <alexander@cvs.openbsd.org> | 2004-07-07 07:32:06 +0000 |
---|---|---|
committer | Alexander Guy <alexander@cvs.openbsd.org> | 2004-07-07 07:32:06 +0000 |
commit | c16a4d2c6cb2784ebd9d8b09a147f1c1998e857b (patch) | |
tree | f9f44b382f4a97012fc9f1ad87ca0c85a084cc53 /usr.sbin/ntpd/ntpd.h | |
parent | 84657162448d7dbd205d918f5037d931ee6a9727 (diff) |
* Convert to use the new double-based time handling functions.
* Respond to the query with a reasonable received time (which
will help clients get better accuracy).
* Consolidate the server response code in preparation for a
completely 'proper' response to the client.
tips and ok from henning@
Diffstat (limited to 'usr.sbin/ntpd/ntpd.h')
-rw-r--r-- | usr.sbin/ntpd/ntpd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ntpd/ntpd.h b/usr.sbin/ntpd/ntpd.h index 2f790282104..643fbd4138a 100644 --- a/usr.sbin/ntpd/ntpd.h +++ b/usr.sbin/ntpd/ntpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ntpd.h,v 1.16 2004/07/07 05:47:57 henning Exp $ */ +/* $OpenBSD: ntpd.h,v 1.17 2004/07/07 07:32:05 alexander Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -187,13 +187,13 @@ int check_file_secrecy(int, const char *); struct ntp_addr *host(const char *, u_int8_t *); /* ntp_msg.c */ -void get_ts(struct l_fixedpt *); 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 *, u_int *); int ntp_reply(int, struct sockaddr *, struct ntp_msg *, int); +int server_dispatch(int fd); /* client.c */ int client_peer_init(struct ntp_peer *); |