Lines Matching refs:hs_wd
57 struct whod *hs_wd; member
69 #define down(h) (now - (h)->hs_wd->wd_recvtime > 11 * 60)
168 hsp->hs_wd = malloc(whdrsize); in main()
170 bcopy((char *)buf, (char *)hsp->hs_wd, in main()
195 (void) printf("%-12s%s\n", hsp->hs_wd->wd_hostname, in main()
196 interval((int)(now - hsp->hs_wd->wd_recvtime), in main()
202 hsp->hs_wd->wd_hostname, in main()
203 interval(hsp->hs_wd->wd_sendtime - in main()
204 hsp->hs_wd->wd_boottime, " up"), in main()
208 hsp->hs_wd->wd_loadav[0] / 100.0, in main()
210 hsp->hs_wd->wd_loadav[1] / 100.0, in main()
212 hsp->hs_wd->wd_loadav[2] / 100.0); in main()
213 free(hsp->hs_wd); in main()
245 return (rflg * strcmp(h1->hs_wd->wd_hostname, h2->hs_wd->wd_hostname)); in hscmp()
264 (h2->hs_wd->wd_loadav[0] - h1->hs_wd->wd_loadav[0])); in lcmp()
293 (down(h2) ? h2->hs_wd->wd_recvtime - now : in tcmp()
294 h2->hs_wd->wd_sendtime - h2->hs_wd->wd_boottime) in tcmp()
296 (down(h1) ? h1->hs_wd->wd_recvtime - now : in tcmp()
297 h1->hs_wd->wd_sendtime - h1->hs_wd->wd_boottime))); in tcmp()