Lines Matching refs:wd
356 struct whod wd;
378 cc = recvfrom(s, &wd, sizeof(wd), 0, (struct sockaddr *)&from,
395 if (wd.wd_vers != WHODVERSION)
397 if (wd.wd_type != WHODTYPE_STATUS)
399 if (!verify(wd.wd_hostname, sizeof(wd.wd_hostname))) {
404 (void) snprintf(path, sizeof(path), "whod.%s", wd.wd_hostname);
426 wd.wd_sendtime = ntohl(wd.wd_sendtime);
428 wd.wd_loadav[i] = ntohl(wd.wd_loadav[i]);
429 wd.wd_boottime = ntohl(wd.wd_boottime);
430 we = wd.wd_we;
440 wd.wd_recvtime = _time_to_int(t);
441 (void) write(whod, (char *)&wd, cc);