/src/usr.sbin/timed/timed/ |
candidate.c | 53 struct hosttbl *htp; local in function:election 132 htp = addmach(resp->tsp_name,&from,fromnet); 135 answer = acksend(&msg, &htp->addr, htp->name, 136 TSP_ACK, 0, htp->noanswer); 139 htp->name);
|
correct.c | 55 struct hosttbl *htp; local in function:correct 63 for (htp = self.l_fwd; htp != &self; htp = htp->l_fwd) { 64 if (htp->delta != HOSTDOWN) { 65 corr = avdelta - htp->delta; 71 if (htp->need_set 74 htp->need_set = 0; 89 answer = acksend(&to, &htp->addr, htp->name [all...] |
networkdelta.c | 70 struct hosttbl *htp; local in function:networkdelta 86 for (htp = self.l_fwd; htp != &self; htp = htp->l_fwd) { 87 if (htp->good 88 && htp->noanswer == 0 89 && htp->delta != HOSTDOWN) { 90 med += htp->delta; 92 *++xp = htp->delta [all...] |
slave.c | 78 struct hosttbl *htp; local in function:slave 343 htp = findhost(msg->tsp_name); 344 if (0 == htp) { 349 if (!htp->good) { 352 htp->name, newdate); 405 htp = addmach(msg->tsp_name, &from,fromnet); 408 if (!acksend(&to, &htp->addr, htp->name, 409 TSP_ACK, 0, htp->noanswer)) { 412 htp->name) [all...] |
master.c | 73 struct hosttbl *htp; local in function:master 188 htp = findhost(msg->tsp_name); 189 if (htp == 0) { 195 if (htp->seq == msg->tsp_seq) 197 htp->seq = msg->tsp_seq; 198 if (!htp->good) { 268 htp = addmach(answer->tsp_name,&from,ntp); 270 msg = acksend(&to, &htp->addr, htp->name, 271 TSP_ACK, 0, htp->noanswer) 384 struct hosttbl *htp; local in function:synch 457 struct hosttbl *htp; local in function:spreadtime 500 struct hosttbl *htp; local in function:prthp 536 struct hosttbl *htp; local in function:findhost 699 struct hosttbl *htp; local in function:rmnetmachs 728 struct hosttbl *htp; local in function:newslave [all...] |
timed.c | 712 struct hosttbl *htp; local in function:get_goodgroup 767 for (htp = self.l_fwd; htp != &self; htp = htp->l_fwd) { 768 htp->good = good_host_name(&htp->name[0]);
|