| /netbsd-src/usr.sbin/timed/timed/ |
| H A D | timed.c | 128 struct netinfo *ntp; in main() local 275 ntp = NULL; in main() 279 if (!ntp) in main() 280 ntp = malloc(sizeof(struct netinfo)); in main() 281 (void)memset(ntp, 0, sizeof(*ntp)); in main() 282 ntp->my_addr=((struct sockaddr_in *)(void *)ifa->ifa_addr)->sin_addr; in main() 283 ntp->status = NOMASTER; in main() 292 ntp->mask = ((struct sockaddr_in *)(void *) in main() 296 ntp in main() 448 lookformaster(struct netinfo * ntp) lookformaster() argument 549 struct netinfo *ntp; setstatus() local 602 struct netinfo *ntp; makeslave() local 617 struct netinfo *ntp; checkignorednets() local 637 pickslavenet(struct netinfo * ntp) pickslavenet() argument [all...] |
| H A D | slave.c | 77 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 …]
|
| H A D | master.c | 83 struct netinfo *ntp; in master() local 89 for (ntp = nettab; ntp != NULL; ntp = ntp->next) { in master() 90 if (ntp->status == MASTER) in master() 91 masterup(ntp); in master() 122 for (ntp = nettab; ntp; ntp = ntp->next) { in master() 123 if (ntp->status == IGNORE in master() 124 || ntp->status == NOMASTER) { in master() 125 lookformaster(ntp); in master() 126 if (ntp->status == MASTER) { in master() 127 masterup(ntp); in master() [all …]
|
| H A D | readmsg.c | 85 struct netinfo *ntp; in readmsg() local 131 for (ntp = nettab; ntp != NULL; ntp = ntp->next) { in readmsg() 132 if ((ntp->mask & from.sin_addr.s_addr) == in readmsg() 133 ntp->net.s_addr) { in readmsg() 134 fromnet = ntp; in readmsg() 244 for (ntp = nettab; ntp != NULL; ntp = ntp->next) in readmsg() 245 if ((ntp->mask & from.sin_addr.s_addr) == in readmsg() 246 ntp->net.s_addr) { in readmsg() 247 fromnet = ntp; in readmsg()
|
| /netbsd-src/external/bsd/ntp/dist/ |
| H A D | README.patches | 5 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 …]
|
| H A D | README.pullrequests | 3 The NTP project's github repository is at https://github.com/ntp-project/ntp. 8 ntp-stable code (even 2nd number). 10 The master branch is for new development, also known as ntp-dev (which 16 publishing your changes in the ntp-dev or master branch. 19 current stable release (the ntp-stable code) then it's better to do your 37 1) If you haven't, create a fork of ntp-project/ntp with your github account. 42 ii) Go to https://github.com/ntp-project/ntp 45 ntp master to your own account. Once done, it will go to your account's 46 version of the ntp repository. (Your fork of ntp source) 48 - git clone git@github.com:<your_username>/ntp [all …]
|
| H A D | dot.emacs | 3 (defconst ntp-c-style 13 (defun ntp-c-mode-common-hook () 14 ;; add ntp c style 15 (c-add-style "ntp" ntp-c-style nil)) 17 (add-hook 'c-mode-common-hook 'ntp-c-mode-common-hook)
|
| H A D | README.versions | 6 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.
|
| /netbsd-src/external/bsd/ntp/dist/scripts/ntp-wait/ |
| H A D | ntp-wait.texi | 3 @setfilename ntp-wait.info 10 This file documents the use of @code{ntp-wait}, 18 * ntp-wait: (ntp-wait). Wait for ntpd to synchronize and stabilize the system clock. 22 @title ntp-wait User's Manual 23 @subtitle ntp-wait, version @value{VERSION}, @value{UPDATED} 24 @c @author Max @email{foo@ntp.org} 30 @node Top, ntp-wait Description, (dir), (dir) 32 This document describes the use of the NTP Project's @code{ntp-wait} program. 38 run @code{ntp-wait} to block 43 This document applies to version @value{VERSION} of @code{ntp-wait}. [all …]
|
| /netbsd-src/external/bsd/ntp/dist/ntpd/ |
| H A D | ntp.conf.texi | 3 @setfilename ntp.conf.info 15 * ntp.conf: (ntp.conf). NTP's configuration file 20 @subtitle ntp.conf, version @value{VERSION}, @value{UPDATED} 21 @c @author Max @email{foo@ntp.org} 27 @node Top, ntp.conf Description, (dir), (dir) 33 This document applies to version @value{VERSION} of @code{ntp.conf}. 38 * ntp.conf Description:: 39 * ntp.conf Notes:: 42 @node ntp.conf Description, , Top, Top 47 by default @code{ntp.conf}. [all …]
|
| H A D | ntp.keys.texi | 3 @setfilename ntp.keys.info 15 * ntp.keys: (ntp.keys). NTP's Symmetric Key file 20 @subtitle ntp.keys, version @value{VERSION}, @value{UPDATED} 21 @c @author Max @email{foo@ntp.org} 27 @node Top, ntp.keys Description, (dir), (dir) 33 This document applies to version @value{VERSION} of @code{ntp.keys}. 38 * ntp.keys Description:: 39 * ntp.keys Notes:: 42 @node ntp.keys Description, , Top, Top 47 be specified in a configuration file, by default @code{/etc/ntp.keys}. [all …]
|
| H A D | ntp.keys.def | 8 // We want the synopsis to be "/etc/ntp.keys" but we need the prog-name 9 // to be ntp.keys - the latter is also how autogen produces the output 11 prog-name = "ntp.keys"; 12 file-path = "/etc/ntp.keys"; 27 .Xr ntp.conf 5 127 .Bl -tag -width /etc/ntp.keys -compact 128 .It Pa /etc/ntp.keys 138 .Xr ntp.conf 5 ,
|
| /netbsd-src/distrib/sets/lists/misc/ |
| H A D | mi | 39 ./usr/share/doc/html/ntp misc-obsolete obsolete 40 ./usr/share/doc/html/ntp/Oncore-SHMEM.htm misc-obsolete obsolete 41 ./usr/share/doc/html/ntp/accopt.htm misc-obsolete obsolete 42 ./usr/share/doc/html/ntp/accopt.html misc-obsolete obsolete 43 ./usr/share/doc/html/ntp/assoc.htm misc-obsolete obsolete 44 ./usr/share/doc/html/ntp/assoc.html misc-obsolete obsolete 45 ./usr/share/doc/html/ntp/audio.htm misc-obsolete obsolete 46 ./usr/share/doc/html/ntp/audio.html misc-obsolete obsolete 47 ./usr/share/doc/html/ntp/authopt.htm misc-obsolete obsolete 48 ./usr/share/doc/html/ntp/authopt.html misc-obsolete obsolete [all …]
|
| /netbsd-src/external/bsd/ntp/bin/ntp-keygen/ |
| H A D | Makefile | 5 PROG= ntp-keygen 6 MAN= ntp-keygen.8 9 SRCS= ntp-keygen-opts.c \ 10 ntp-keygen.c 23 COPTS.ntp-keygen.c+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} == 8:? -Wno-error=restrict :} 24 COPTS.ntp-keygen.c+= -Wno-error=deprecated-declarations
|
| /netbsd-src/external/bsd/ntp/dist/html/hints/ |
| H A D | svr4_package | 11 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
|
| /netbsd-src/external/bsd/dhcpcd/dist/hooks/ |
| H A D | 50-ntp.conf | 19 : ${ntp_confs:=ntp.conf ntpd.conf chrony.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.conf.dhcp}
|
| /netbsd-src/external/bsd/ntp/dist/scripts/monitoring/ |
| H A D | ntptrap | 40 $ntp'timeout = $FRAG_TIMEOUT; #'; 41 $ntp'timeout if 0; 83 $ntp_port = (getservbyname('ntp','udp'))[$[+2] || 199 &debug(sprintf("Request: %s: %s(%d)",&hostname($addr), &ntp'cntrlop_name($op), $assoc)); #';)) 200 $ret = &ntp'send(S,$op,$assoc,"", #'( 261 &ntp'handle_packet($buf,$from); # '; 356 $evnt = &ntp'SystemEvent($status); #'; 370 &ntp'LI($status), #', 371 &ntp'ClockSource($status) #' 401 $evnt = &ntp'PeerEvent($status); #'; [all …]
|
| /netbsd-src/usr.bin/sys_info/ |
| H A D | README | 21 ntp-4.2.8pl5 28 [19:41:20] agc@netbsd-002 ...external/bsd/sys_info [4569] > ./sys_info ntp ssh netpgp 29 ntp-4.2.8pl5 32 [19:41:31] agc@netbsd-002 ...external/bsd/sys_info [4570] > ./sys_info ntp ssh netbsd 33 ntp-4.2.8pl5
|
| /netbsd-src/external/bsd/nvi/dist/vi/ |
| H A D | v_txt.c | 262 TEXT *ntp, *tp; /* Input text structures. */ in v_txt() local 783 if ((ntp = text_init(sp, p, in v_txt() 786 TAILQ_INSERT_TAIL(&sp->tiq, ntp, q); in v_txt() 789 ntp->insert = insert; in v_txt() 790 ntp->owrite = owrite; in v_txt() 791 ntp->lno = tp->lno + 1; in v_txt() 803 if (v_txt_auto(sp, OOBLNO, &ait, ait.ai, ntp)) in v_txt() 807 if (v_txt_auto(sp, OOBLNO, tp, tp->cno, ntp)) in v_txt() 813 ntp->cno = ntp->ai; in v_txt() 824 BINC_GOTOW(sp, ntp->lb, in v_txt() [all …]
|
| /netbsd-src/external/bsd/ntp/dist/scripts/calc_tickadj/ |
| H A D | calc_tickadj-opts.def | 7 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-src/external/bsd/ntp/dist/sntp/scripts/ |
| H A D | mansec2subst.sed | 1 s/1ntp-keygenman/@NTP_KEYGEN_MS@/g 2 s/1ntp-keygenmdoc/@NTP_KEYGEN_MS@/g 3 s/1ntp-waitman/@NTP_WAIT_MS@/g 4 s/1ntp-waitmdoc/@NTP_WAIT_MS@/g
|
| /netbsd-src/external/bsd/nvi/dist/ex/ |
| H A D | ex_txt.c | 67 TEXT ait, *ntp, *tp; in ex_txt() local 202 if ((ntp = text_init(sp, NULL, 0, 32)) == NULL) in ex_txt() 204 ntp->lno = tp->lno + 1; in ex_txt() 218 OOBLNO, &ait, ait.ai, ntp)) in ex_txt() 223 OOBLNO, tp, tp->len, ntp)) in ex_txt() 227 txt_prompt(sp, ntp, prompt, flags); in ex_txt() 233 tp = ntp; in ex_txt()
|
| /netbsd-src/external/bsd/ntp/dist/util/ |
| H A D | ntp-keygen.texi | 3 @setfilename ntp-keygen.info 10 This file documents the use of the NTP Project's @code{ntp-keygen} 15 * ntp-keygen: (ntp-keygen). NTP Key Generation 20 @subtitle ntp-keygen, version @value{VERSION}, @value{UPDATED} 21 @c @author Max @email{foo@ntp.org} 31 * ntp-keygen Invocation:: Invoking ntp-keygen 40 This document describes the use of the NTP Project's @code{ntp-keygen} 54 This document applies to version @value{VERSION} of @code{ntp-keygen}. 108 The symmetric keys file, normally called @code{ntp.keys}, is 134 removed, use the @code{ntp-keygen} command without arguments to generate a [all …]
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/kdc/ |
| H A D | digest-service.c | 67 NTLMReply ntp; in ntlm_service() local 80 ntp.success = 0; in ntlm_service() 81 ntp.flags = 0; in ntlm_service() 82 ntp.sessionkey = NULL; in ntlm_service() 201 ntp.success = 1; in ntlm_service() 203 ASN1_MALLOC_ENCODE(NTLMReply, rep.data, rep.length, &ntp, &size, ret); in ntlm_service()
|
| /netbsd-src/sys/compat/linux/common/ |
| H A D | linux_time.c | 124 native_to_linux_timespec(struct linux_timespec *ltp, const struct timespec *ntp) in native_to_linux_timespec() argument 127 ltp->tv_sec = ntp->tv_sec; in native_to_linux_timespec() 128 ltp->tv_nsec = ntp->tv_nsec; in native_to_linux_timespec() 132 linux_to_native_timespec(struct timespec *ntp, const struct linux_timespec *ltp) in linux_to_native_timespec() argument 134 memset(ntp, 0, sizeof(*ntp)); in linux_to_native_timespec() 135 ntp->tv_sec = ltp->tv_sec; in linux_to_native_timespec() 136 ntp->tv_nsec = ltp->tv_nsec; in linux_to_native_timespec()
|