Home
last modified time | relevance | path

Searched refs:ntp (Results 1 – 25 of 110) sorted by relevance

12345

/trueos/usr.sbin/timed/timed/
HDtimed.c123 register struct netinfo *ntp; in main() local
272 ntp = NULL; in main()
280 if (!ntp) in main()
281 ntp = (struct netinfo*)malloc(sizeof(struct netinfo)); in main()
282 bzero(ntp,sizeof(*ntp)); in main()
283 ntp->my_addr=((struct sockaddr_in *)&ifr->ifr_addr)->sin_addr; in main()
284 ntp->status = NOMASTER; in main()
304 ntp->mask = ((struct sockaddr_in *) in main()
312 ntp->dest_addr = *(struct sockaddr_in *)&ifreq.ifr_broadaddr; in main()
315 ntp->net = ntp->my_addr; in main()
[all …]
HDslave.c76 struct netinfo *ntp; in slave() local
98 for (ntp = nettab; ntp != NULL; ntp = ntp->next) { in slave()
99 if (ntp->status == MASTER) in slave()
100 masterup(ntp); in slave()
118 for (ntp = nettab; ntp != NULL; ntp = ntp->next) { in slave()
119 if (ntp->status == IGNORE in slave()
120 || ntp->status == NOMASTER) { in slave()
121 lookformaster(ntp); in slave()
122 if (ntp->status == MASTER) { in slave()
123 masterup(ntp); in slave()
[all …]
HDmaster.c78 struct netinfo *ntp; in master() local
84 for (ntp = nettab; ntp != NULL; ntp = ntp->next) { in master()
85 if (ntp->status == MASTER) in master()
86 masterup(ntp); in master()
117 for (ntp = nettab; ntp; ntp = ntp->next) { in master()
118 if (ntp->status == IGNORE in master()
119 || ntp->status == NOMASTER) { in master()
120 lookformaster(ntp); in master()
121 if (ntp->status == MASTER) { in master()
122 masterup(ntp); in master()
[all …]
HDreadmsg.c80 register struct netinfo *ntp; in readmsg() local
126 for (ntp = nettab; ntp != NULL; ntp = ntp->next) { in readmsg()
127 if ((ntp->mask & from.sin_addr.s_addr) == in readmsg()
128 ntp->net.s_addr) { in readmsg()
129 fromnet = ntp; in readmsg()
237 for (ntp = nettab; ntp != NULL; ntp = ntp->next) in readmsg()
238 if ((ntp->mask & from.sin_addr.s_addr) == in readmsg()
239 ntp->net.s_addr) { in readmsg()
240 fromnet = ntp; in readmsg()
/trueos/contrib/ntp/util/
HDMakefile.am5 ntp-keygen
12 ntp_keygen_SOURCES = ntp-keygen.c ntp-keygen-opts.c ntp-keygen-opts.h
17 EXTRA_DIST= ntp-keygen-opts.def ntp-keygen.1 ntp-keygen-opts.texi ntp-keygen-opts.menu
18 BUILT_SOURCES= ntp-keygen-opts.c ntp-keygen-opts.h ntp-keygen.1 \
19 ntp-keygen-opts.texi ntp-keygen-opts.menu
20 man_MANS= ntp-keygen.1
28 $(srcdir)/ntp-keygen-opts.h: $(srcdir)/ntp-keygen-opts.c
29 $(srcdir)/ntp-keygen-opts.c: $(srcdir)/ntp-keygen-opts.def $(std_def_list)
30 $(run_ag) ntp-keygen-opts.def
32 $(srcdir)/ntp-keygen.1: $(srcdir)/ntp-keygen-opts.def $(std_def_list)
[all …]
HDntp-keygen-opts.texi1 @node ntp-keygen Invocation
2 @section Invoking ntp-keygen
3 @pindex ntp-keygen
7 # EDIT THIS FILE WITH CAUTION (ntp-keygen-opts.texi)
10 # From the definitions ntp-keygen-opts.def
19 … template and the option descriptions for the @command{ntp-keygen} program. It documents the ntp-…
24 * ntp-keygen usage:: ntp-keygen usage help (-?)
25 * ntp-keygen certificate:: certificate option (-c)
26 * ntp-keygen debug-level:: debug-level option (-d)
27 * ntp-keygen get-pvt-passwd:: get-pvt-passwd option (-q)
[all …]
HDMakefile.in39 ntp-keygen$(EXEEXT)
85 am_ntp_keygen_OBJECTS = ntp-keygen$U.$(OBJEXT) \
86 ntp-keygen-opts$U.$(OBJEXT)
308 ntp_keygen_SOURCES = ntp-keygen.c ntp-keygen-opts.c ntp-keygen-opts.h
312 EXTRA_DIST = ntp-keygen-opts.def ntp-keygen.1 ntp-keygen-opts.texi ntp-keygen-opts.menu
313 BUILT_SOURCES = ntp-keygen-opts.c ntp-keygen-opts.h ntp-keygen.1 \
314 ntp-keygen-opts.texi ntp-keygen-opts.menu
316 man_MANS = ntp-keygen.1
422 ntp-keygen$(EXEEXT): $(ntp_keygen_OBJECTS) $(ntp_keygen_DEPENDENCIES)
423 @rm -f ntp-keygen$(EXEEXT)
[all …]
/trueos/contrib/ntp/
HDREADME.patches5 http://support.ntp.org/Dev/MaintainerIssues#How_to_work_on_a_bug_using_BitKe
7 If you are going to patch both ntp-stable and ntp-dev
10 > cd ntp-stable
11 > (make and test your changes to ntp-stable first)
12 > (commit your changes to ntp-stable)
13 > cd ../ntp-dev
14 > bk pull ../ntp-stable (get your changes from ntp-stable)
16 > (commit your changes to ntp-dev)
19 from ntp-stable to ntp-dev than it is to move changes from ntp-dev to
20 ntp-stable.
[all …]
HDdot.emacs3 (defconst ntp-c-style
10 "Dave L. Mills; programming style for use with ntp")
12 (defun ntp-c-mode-common-hook ()
13 ;; add ntp c style
14 (c-add-style "ntp" ntp-c-style nil))
16 (add-hook 'c-mode-common-hook 'ntp-c-mode-common-hook)
HDREADME.versions6 A is 4, for ntp V4.
18 4.2.2 A production release (from the ntp-stable repository)
19 4.2.2p2 A production release (from the ntp-stable repository)
23 Note that after the ntp-dev repo produces a production release it will
24 be copied into the ntp-stable and the cycle will repeat.
HDNEWS1 NTP 4.2.4p8 (Harlan Stenn <stenn@ntp.org>, 2009/12/08)
11 See http://support.ntp.org/security for more information.
35 NTP 4.2.4p7 (Harlan Stenn <stenn@ntp.org>, 2009/05/04)
45 See http://support.ntp.org/security for more information.
47 If autokey is enabled (if ntp.conf contains a "crypto pw whatever"
73 NTP 4.2.4p6 (Harlan Stenn <stenn@ntp.org>, 2009/01/07)
89 NTP 4.2.4p5 (Harlan Stenn <stenn@ntp.org>, 2008/08/17)
106 NTP 4.2.4p4 (Harlan Stenn <stenn@ntp.org>, 2007/09/10)
118 NTP 4.2.4p3 (Harlan Stenn <stenn@ntp.org>, 2007/06/29)
127 NTP 4.2.4p2 (Harlan Stenn <stenn@ntp.org>, 2007/06/19)
[all …]
HDCommitLog78 util/ntp-keygen-opts.c@1.85, 2009-12-08 08:23:08-05:00, stenn@whimsy.udel.edu +2 -2
81 util/ntp-keygen-opts.h@1.85, 2009-12-08 08:23:08-05:00, stenn@whimsy.udel.edu +3 -3
84 util/ntp-keygen-opts.texi@1.83, 2009-12-08 08:23:09-05:00, stenn@whimsy.udel.edu +1 -1
87 util/ntp-keygen.1@1.83, 2009-12-08 08:23:09-05:00, stenn@whimsy.udel.edu +2 -2
160 util/ntp-keygen-opts.c@1.84, 2009-12-08 07:45:24-05:00, stenn@whimsy.udel.edu +5 -5
163 util/ntp-keygen-opts.h@1.84, 2009-12-08 07:45:24-05:00, stenn@whimsy.udel.edu +4 -4
166 util/ntp-keygen-opts.texi@1.82, 2009-12-08 07:45:24-05:00, stenn@whimsy.udel.edu +4 -4
169 util/ntp-keygen.1@1.82, 2009-12-08 07:45:25-05:00, stenn@whimsy.udel.edu +2 -2
260 util/ntp-keygen-opts.c@1.83, 2009-05-18 05:04:35-04:00, stenn@whimsy.udel.edu +4 -4
263 util/ntp-keygen-opts.h@1.83, 2009-05-18 05:04:36-04:00, stenn@whimsy.udel.edu +4 -4
[all …]
HDChangeLog2 (4.2.4p8) 2009/12/08 Released by Harlan Stenn <stenn@ntp.org>
7 (4.2.4p7) 2009/05/18 Released by Harlan Stenn <stenn@ntp.org>
15 (4.2.4p7-RC7) 2009/05/12 Released by Harlan Stenn <stenn@ntp.org>
17 * ntp.isc.org -> ntp.org cleanup.
22 (4.2.4p7-RC6) 2009/05/08 Released by Harlan Stenn <stenn@ntp.org>
32 (4.2.4p7-RC5) 2009/05/02 Released by Harlan Stenn <stenn@ntp.org>
38 (4.2.4p7-RC4) 2009/04/29 Released by Harlan Stenn <stenn@ntp.org>
43 (4.2.4p7-RC3) 2009/04/22 Released by Harlan Stenn <stenn@ntp.org>
55 (4.2.4p7-RC2) 2009/04/09 Released by Harlan Stenn <stenn@ntp.org>
61 (4.2.4p7-RC1) 2009/03/30 Released by Harlan Stenn <stenn@ntp.org>
[all …]
/trueos/usr.sbin/ntp/ntp-keygen/
HDMakefile7 .PATH: ${.CURDIR}/../../../contrib/ntp/util \
8 ${.CURDIR}/../../../contrib/ntp/ntpd
10 PROG= ntp-keygen
11 SRCS= ntp-keygen.c ntp-keygen-opts.c
13 CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ \
14 -I${.CURDIR}/../../../contrib/ntp/libopts
/trueos/contrib/ntp/scripts/
HDMakefile.am1 bin_SCRIPTS= ntp-wait ntptrace
4 hpadjtime.sh monitoring ntp-close ntp-groper ntp-restart \
5 ntp-status rc1 rc2 stats
HDREADME7 calc_tickadj Calculates "optimal" value for tick given ntp.drift file
10 based on ntp.drift . For FreeBSD systems.
21 ntp-close find public stratum 2 servers that don't respond
23 ntp-groper script useful for reaching out and rattling the cages of
26 ntp-restart script useful for killing and restarting the NTP daemon
28 ntp-wait Blocks until ntpd is in state 4 (synchronized).
/trueos/usr.sbin/ntp/doc/
HDMakefile5 FILESDIR= ${SHAREDIR}/doc/ntp
26 MAN= ntp.conf.5 ntp.keys.5
27 MAN+= ntp-keygen.8 ntpd.8 ntpdate.8 ntpdc.8 ntpq.8 ntptime.8
29 .PATH: ${.CURDIR}/../../../contrib/ntp/html \
30 ${.CURDIR}/../../../contrib/ntp/html/build \
31 ${.CURDIR}/../../../contrib/ntp/html/drivers
/trueos/contrib/ntp/html/build/hints/
HDsvr4_package11 xntp shell script that starts up ntp during boot up
15 start or stop. It assumes that ntp.conf is in
16 /etc/inet/ntp.conf (where it should be on svr4
24 ensures that ntp is down if it is up before
26 postinstall starts up ntp after package installation.
27 preremove brings down ntp before removing the package.
31 "pkgadd -d `pwd`/xntp.pkg xntp". This will start up ntp if
32 /etc/inet/ntp.conf exists. If you don't want the package anymore, use
/trueos/contrib/ntp/scripts/monitoring/
HDntptrap40 $ntp'timeout = $FRAG_TIMEOUT; #';
41 $ntp'timeout if 0;
81 $ntp_port = (getservbyname('ntp','udp'))[$[+2] ||
197 &debug(sprintf("Request: %s: %s(%d)",&hostname($addr), &ntp'cntrlop_name($op), $assoc)); #';))
198 $ret = &ntp'send(S,$op,$assoc,"", #'(
259 &ntp'handle_packet($buf,$from); # ';
354 $evnt = &ntp'SystemEvent($status); #';
368 &ntp'LI($status), #',
369 &ntp'ClockSource($status) #'
399 $evnt = &ntp'PeerEvent($status); #';
[all …]
/trueos/contrib/nvi/vi/
HDv_txt.c255 TEXT *ntp, *tp; /* Input text structures. */ in v_txt() local
771 if ((ntp = text_init(sp, p, in v_txt()
774 TAILQ_INSERT_TAIL(sp->tiq, ntp, q); in v_txt()
777 ntp->insert = insert; in v_txt()
778 ntp->owrite = owrite; in v_txt()
779 ntp->lno = tp->lno + 1; in v_txt()
791 if (v_txt_auto(sp, OOBLNO, &ait, ait.ai, ntp)) in v_txt()
795 if (v_txt_auto(sp, OOBLNO, tp, tp->cno, ntp)) in v_txt()
801 ntp->cno = ntp->ai; in v_txt()
812 BINC_GOTOW(sp, ntp->lb, in v_txt()
[all …]
/trueos/usr.sbin/ntp/libopts/
HDMakefile3 .PATH: ${.CURDIR}/../../../contrib/ntp/libopts
10 CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ \
11 -I${.CURDIR}/../../../contrib/ntp/libopts
/trueos/etc/
HDntp.conf22 server 0.freebsd.pool.ntp.org iburst
23 server 1.freebsd.pool.ntp.org iburst
24 server 2.freebsd.pool.ntp.org iburst
/trueos/contrib/nvi/ex/
HDex_txt.c61 TEXT ait, *ntp, *tp; in ex_txt() local
197 if ((ntp = text_init(sp, NULL, 0, 32)) == NULL) in ex_txt()
199 ntp->lno = tp->lno + 1; in ex_txt()
213 OOBLNO, &ait, ait.ai, ntp)) in ex_txt()
218 OOBLNO, tp, tp->len, ntp)) in ex_txt()
222 txt_prompt(sp, ntp, prompt, flags); in ex_txt()
228 tp = ntp; in ex_txt()
/trueos/crypto/heimdal/kdc/
HDdigest-service.c63 NTLMReply ntp; in ntlm_service() local
76 ntp.success = 0; in ntlm_service()
77 ntp.flags = 0; in ntlm_service()
78 ntp.sessionkey = NULL; in ntlm_service()
197 ntp.success = 1; in ntlm_service()
199 ASN1_MALLOC_ENCODE(NTLMReply, rep.data, rep.length, &ntp, &size, ret); in ntlm_service()
/trueos/usr.sbin/ntp/libntp/
HDMakefile3 .PATH: ${.CURDIR}/../../../contrib/ntp/libntp \
4 ${.CURDIR}/../../../contrib/ntp/libisc
6 LIB= ntp
35 CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../

12345