Lines Matching refs:host
245 sock_prepare(int *sockfdptr, struct hostent *host, close_rsn_t *err_rsn)
253 DPRINT((dfile, "Creating socket for %s\n", host->h_name));
255 addr.ss_family = host->h_addrtype;
256 switch (host->h_addrtype) {
260 bcopy(host->h_addr_list[0],
267 bcopy(host->h_addr_list[0],
288 DPRINT((dfile, "Connected to %s via fd=%d\n", host->h_name,
718 * send_record() - send an audit record to a host opening a connection,
758 * Send request to other then previously used host.
760 if (current_host != hostlptr->host) {
761 DPRINT((dfile, "Set new host: %s\n", hostlptr->host->h_name));
767 current_host = (struct hostent *)hostlptr->host;