Lines Matching refs:cur_domain
246 struct domain *cur_domain;
264 if ((cur_domain = ypbind_point_to_domain(argp->ypbind_domainname)) !=
266 if (cur_domain->dom_boundp) {
271 if ((tp.tv_sec - cur_domain->lastping.tv_sec) >
277 (void) ypbind_ping(cur_domain);
285 if (cur_domain->dom_boundp) {
292 cur_domain->dom_binding;
296 argp->ypbind_domainname, cur_domain->dom_error);
300 cur_domain->dom_error;
321 if ((cur_domain) && (!cur_domain->dom_boundp) &&
322 (!cur_domain->dom_broadcaster_pid)) {
325 cur_domain->dom_boundp, cur_domain->dom_broadcaster_pid);
343 cur_domain->dom_report_success++;
348 cur_domain->dom_broadcaster_pid = bpid;
349 cur_domain->broadcaster_fd = fildes[0];
350 cur_domain->broadcaster_pipe =
352 if (cur_domain->broadcaster_pipe)
353 xdrstdio_create(&(cur_domain->broadcaster_xdr),
354 (cur_domain->broadcaster_pipe), XDR_DECODE);
358 cur_domain->dom_name, bpid,
359 cur_domain->dom_report_success);
381 cur_domain->broadcaster_fd = fildes[1];
382 cur_domain->broadcaster_pipe = fdopen(fildes[1], "w");
383 if (cur_domain->broadcaster_pipe)
384 xdrstdio_create(&(cur_domain->broadcaster_xdr),
385 (cur_domain->broadcaster_pipe), XDR_ENCODE);
390 exit(pong_servers(cur_domain));
1180 struct domain *cur_domain;
1183 cur_domain = ypbind_point_to_domain(domain);
1185 if (cur_domain == (struct domain *)NULL) {
1188 (void) pong_servers(cur_domain);