Home | History | Annotate | Download | only in timed

Lines Matching defs:ntp

77 	struct netinfo *ntp;
98 for (ntp = nettab; ntp != NULL; ntp = ntp->next) {
99 if (ntp->status == MASTER)
100 masterup(ntp);
118 for (ntp = nettab; ntp != NULL; ntp = ntp->next) {
119 if (ntp->status == IGNORE
120 || ntp->status == NOMASTER) {
121 lookformaster(ntp);
122 if (ntp->status == MASTER) {
123 masterup(ntp);
124 } else if (ntp->status == MASTER) {
125 ntp->status = NOMASTER;
128 if (ntp->status == MASTER
129 && --ntp->quit_count < 0)
130 ntp->quit_count = 0;
141 for (ntp = nettab; ntp != NULL; ntp = ntp->next) {
142 if (ntp->status == MASTER) {
149 (void)sendtsp(sock, &to, &ntp->dest_addr);
431 ntp = fromnet; /* (acksend() can leave fromnet=0 */
434 answer = acksend(&to, &ntp->dest_addr,
436 ntp, 0);
439 htp = addmach(answer->tsp_name,&from,ntp);
450 masterup(ntp);
504 ntp = fromnet;
507 answer = acksend(&to, &ntp->dest_addr,
509 ntp,0);
531 for (ntp = nettab; ntp != 0; ntp = ntp->next) {
532 if (ntp->status == MASTER)
534 &ntp->dest_addr);
554 ntp = fromnet;
557 answer = acksend(&to, &ntp->dest_addr,
559 ntp,0);
563 &from,ntp);