Lines Matching refs:host
89 int isnewhost(char *host);
91 void *wait_link_down(void *host);
93 void remove_from_hostlist(char *host);
107 gettext("host list not initialized, cannot run"));
108 rdc_err(NULL, gettext("host list not initialized, cannot run"));
250 * Check all enabled sets to see if a new remote host has
256 /* spawn a new thread for each new host found */
273 gettext("%s: new host found (%s) starting "
299 * specified host has dropped.
304 char *host = (char *)thehost;
308 if (host)
309 (void) strncpy(tmphost, host, MAX_RDC_HOST_SIZE);
318 program, host[0] == '\0' ? tmphost : host);
320 if (RDC_IOCTL(RDC_LINK_DOWN, host, 0, 0, 0, 0, ustatus)
332 program, host[0] == '\0' ? tmphost : host);
334 rdc_sync(host[0] == '\0' ? tmphost : host);
341 * Called when the link to the specified host has dropped.
506 "(host deconfigured)"), program, tohost);
1013 char *host, *exhost;
1028 host = rdc_info->rdc_set[j].secondary.intf;
1029 if (strcmp(host_list->hosts[i], host) == 0)
1060 * explicity remove a host from the host list
1065 remove_from_hostlist(char *host)
1071 if ((!host) || (host[0] == '\0'))
1076 if (strcmp(host, host_list->hosts[i]) == 0) { /* found it */
1099 * Check to see if this host isn't in our list, so needs a new rdcsyncd proc
1102 isnewhost(char *host)
1107 if (self_check(host)) {
1116 host_list->hosts[i] = strdup(host);
1120 if (strcmp(host, host_list->hosts[i]) == 0) {