Lines Matching defs:current_host
80 static struct hostlist_s *current_host;
363 current_host = hosts;
545 * - 1 tcp connection opened at a time, referenced by current_host->sockfd
546 * - tries to (open and) send a record to the current_host where its address
596 start_host = current_host;
599 current_host->host->h_name, attempts + 1, retries));
601 send_record_rc = send_record(current_host, input, in_len,
617 "rsn:%d\n", current_host->host->h_name, err_rsn));
622 "rsn:%d\n", current_host->host->h_name, err_rsn));
632 current_host->host->h_name,
633 ntohs(current_host->port), rsn_msg);
651 current_host = current_host->next_host;
652 if (current_host == NULL) {
653 current_host = hosts;
661 if (current_host == start_host && attempts == 0) {
826 current_host = NULL;