Searched refs:ntp (Results 26 - 50 of 118) sorted by relevance

12345

/netbsd-current/external/bsd/dhcpcd/dist/hooks/
H A D50-ntp.conf5 # Like our resolv.conf hook script, we store a database of ntp.conf files
6 # and merge into /etc/ntp.conf
19 : ${ntp_confs:=ntp.conf ntpd.conf chrony.conf}
21 ntp_conf_dir="$state_dir/ntp.conf"
33 [ -e "$NTP_CONF" ] || NTP_CONF=/etc/ntp.conf
47 [ -e /var/lib/ntp ] || mkdir /var/lib/ntp
48 : ${ntp_service:=ntp}
49 : ${NTP_DHCP_CONF:=/var/lib/ntp/ntp
[all...]
/netbsd-current/usr.sbin/timed/timed/
H A Dmaster.c83 struct netinfo *ntp; local
89 for (ntp = nettab; ntp != NULL; ntp = ntp->next) {
90 if (ntp->status == MASTER)
91 masterup(ntp);
122 for (ntp = nettab; ntp; ntp
559 addmach(char *name, struct sockaddr_in *addr, struct netinfo *ntp) argument
697 rmnetmachs(struct netinfo *ntp) argument
[all...]
H A Dreadmsg.c85 struct netinfo *ntp; local
131 for (ntp = nettab; ntp != NULL; ntp = ntp->next) {
132 if ((ntp->mask & from.sin_addr.s_addr) ==
133 ntp->net.s_addr) {
134 fromnet = ntp;
244 for (ntp = nettab; ntp !
[all...]
/netbsd-current/external/bsd/ntp/dist/scripts/calc_tickadj/
H A Dcalc_tickadj-opts.def7 prog-title = 'Calculates "optimal" value for tick given ntp drift file.';
8 package = ntp;
18 arg-default = '/etc/ntp/drift';
35 The @code{calc_tickadj} script uses provided ntp drift file to generate optimal
44 $ cat /etc/ntp/drift
57 @code{tickadj} program from ntp package. If this doesn't work you can specify
/netbsd-current/external/bsd/ntp/dist/scripts/rc/
H A Dntpd5 USER=ntp
6 GROUP=ntp
48 # Give ntp 15 seconds to exit
/netbsd-current/etc/rc.d/
H A Dntpd18 required_files="/etc/ntp.conf"
51 ln -fs "${ntpd_chrootdir}/var/db/ntp.drift" /var/db/ntp.drift
64 getent services ntp/udp ntp/tcp \
/netbsd-current/external/bsd/ntp/dist/util/
H A DMakefile.in98 ntp-keygen$(EXEEXT) ntptime$(EXEEXT) pps-api$(EXEEXT) \
187 am_ntp_keygen_OBJECTS = ntp-keygen.$(OBJEXT) ntp-keygen-opts.$(OBJEXT)
618 ntp_keygen_SOURCES = ntp-keygen.c ntp-keygen-opts.c ntp-keygen-opts.h
621 invoke-ntp-keygen.menu \
622 invoke-ntp-keygen.texi \
623 ntp-keygen-opts.def \
624 ntp
[all...]
/netbsd-current/external/bsd/ntp/dist/conf/
H A Drackety.conf2 # NTP configuration file (ntp.conf)
44 keys /usr/local/etc/ntp.keys # symmetric keys file
51 driftfile /etc/ntp.drift # frequency offset
/netbsd-current/external/bsd/ntp/dist/sntp/
H A Dcrypto.h11 #include <ntp.h>
H A Dmain.h10 #include <ntp.h>
/netbsd-current/external/bsd/ntp/dist/libntp/
H A Drefidsmear.c5 #include <ntp.h>
H A Dclocktime.c133 u_int32 ntp)
138 t = ntpcal_ntp_to_ntp(ntp, NULL);
132 ntp_to_year( u_int32 ntp) argument
/netbsd-current/external/bsd/ntp/dist/tests/libntp/
H A Drun-refidsmear.c28 #include <ntp.h>
H A Dcalendar.c541 u_int32 ntp, expys, truys; local
544 for (ntp = 0; ntp < 0xFFFFFFFFu - 30000000u; ntp += 30000000u) {
545 truys = calyearstart(ntp, &pivot);
546 ntpcal_ntp_to_date(&date, ntp, &pivot);
561 u_int32 ntp, expms, trums; local
564 for (ntp = 0; ntp < 0xFFFFFFFFu - 2000000u; ntp
581 u_int32 ntp, expws, truws; local
601 u_int32 ntp, expds, truds; local
[all...]
/netbsd-current/external/bsd/ntp/dist/scripts/monitoring/
H A Dntptrap20 require('ntp.pl'); # implementation of the NTP protocol
40 $ntp'timeout = $FRAG_TIMEOUT; #';
41 $ntp'timeout if 0;
83 $ntp_port = (getservbyname('ntp','udp'))[$[+2] ||
84 (warn("$0: Could not get port number for service ntp/udp using 123"), 123);
109 &ntp'send(S,31,0,"",pack("Sna4x8",&AF_INET,$ntp_port,$Host{$_})); #';
199 &debug(sprintf("Request: %s: %s(%d)",&hostname($addr), &ntp'cntrlop_name($op), $assoc)); #';))
200 $ret = &ntp'send(S,$op,$assoc,"", #'(
205 last unless (defined($ret)); # warn called by ntp'send();
259 ;# stuff packet into ntp mod
[all...]
/netbsd-current/external/bsd/ntp/
H A DMakefile.inc15 IDIST= ${NETBSDSRCDIR}/external/bsd/ntp/dist
16 NTP_SRCDIR= ${NETBSDSRCDIR}/external/bsd/ntp
72 .SUFFIXES: .1 .5 .8 .1ntpdmdoc .5mdoc .1ntp-keygenmdoc .1ntpdcmdoc .1ntpqmdoc .1sntpmdoc
80 .1ntp-keygenmdoc.8:
81 ${TOOL_SED} -e 's/1ntp-keygenmdoc/8/g' < ${.IMPSRC} > ${.TARGET}
/netbsd-current/external/bsd/nvi/dist/ex/
H A Dex_txt.c67 TEXT ait, *ntp, *tp; local
202 if ((ntp = text_init(sp, NULL, 0, 32)) == NULL)
204 ntp->lno = tp->lno + 1;
218 OOBLNO, &ait, ait.ai, ntp))
223 OOBLNO, tp, tp->len, ntp))
227 txt_prompt(sp, ntp, prompt, flags);
233 tp = ntp;
/netbsd-current/external/bsd/ntp/dist/ntpd/
H A DMakefile.in647 man5_MANS = ntp.conf.5 ntp.keys.5
677 invoke-ntp.conf.menu \
678 invoke-ntp.conf.texi \
679 invoke-ntp.keys.menu \
680 invoke-ntp.keys.texi \
684 ntp.conf.5man \
685 ntp.conf.5mdoc \
686 ntp.conf.def \
687 ntp
[all...]
/netbsd-current/distrib/syspkg/sets/misc/
H A DMakefile9 SUBDIR+=misc-ntp-htmldoc
/netbsd-current/external/bsd/ntp/dist/scripts/deprecated/
H A Dntp-status6 # for any number of ntp servers.
13 FILE=/tmp/ntp.$$
/netbsd-current/external/bsd/ntp/dist/scripts/ntp-wait/
H A Dntp-wait-opts.def6 prog-name = "ntp-wait";
8 package = ntp;
44 By default, @code{ntp-wait} is silent.
45 With this option, @code{ntp-wait} will provide status information.
/netbsd-current/crypto/external/bsd/heimdal/dist/kdc/
H A Ddigest-service.c67 NTLMReply ntp; local
80 ntp.success = 0;
81 ntp.flags = 0;
82 ntp.sessionkey = NULL;
201 ntp.success = 1;
203 ASN1_MALLOC_ENCODE(NTLMReply, rep.data, rep.length, &ntp, &size, ret);
/netbsd-current/external/bsd/ntp/dist/scripts/update-leap/
H A Dupdate-leap-opts.def8 package = ntp;
84 name = ntp-conf-file;
87 descrip = 'Location of the ntp.conf file';
89 Specify location of ntp.conf (used to make sure leapfile directive is
91 /etc/ntp.conf
124 .Xr ntp.conf 5 .
/netbsd-current/external/bsd/nvi/dist/vi/
H A Dv_txt.c262 TEXT *ntp, *tp; /* Input text structures. */ local
783 if ((ntp = text_init(sp, p,
786 TAILQ_INSERT_TAIL(&sp->tiq, ntp, q);
789 ntp->insert = insert;
790 ntp->owrite = owrite;
791 ntp->lno = tp->lno + 1;
803 if (v_txt_auto(sp, OOBLNO, &ait, ait.ai, ntp))
807 if (v_txt_auto(sp, OOBLNO, tp, tp->cno, ntp))
813 ntp->cno = ntp
1830 TEXT *ntp; local
[all...]
/netbsd-current/sys/compat/linux/common/
H A Dlinux_time.c124 native_to_linux_timespec(struct linux_timespec *ltp, const struct timespec *ntp) argument
127 ltp->tv_sec = ntp->tv_sec;
128 ltp->tv_nsec = ntp->tv_nsec;
132 linux_to_native_timespec(struct timespec *ntp, const struct linux_timespec *ltp) argument
134 memset(ntp, 0, sizeof(*ntp));
135 ntp->tv_sec = ltp->tv_sec;
136 ntp->tv_nsec = ltp->tv_nsec;

Completed in 209 milliseconds

12345