he 182 src/simh/sim_sock.c struct hostent *he; he 250 src/simh/sim_sock.c he = gethostbyaddr((char *)&ipaddr, 4, AF_INET); he 251 src/simh/sim_sock.c if (NULL != he) he 252 src/simh/sim_sock.c cname = he->h_name; he 261 src/simh/sim_sock.c he = gethostbyname(hostname); he 262 src/simh/sim_sock.c if (he) { he 263 src/simh/sim_sock.c ips = (struct in_addr **)he->h_addr_list; he 265 src/simh/sim_sock.c cname = he->h_name; he 341 src/simh/sim_sock.c struct hostent *he; he 373 src/simh/sim_sock.c he = NULL; he 375 src/simh/sim_sock.c he = gethostbyaddr((const char *)&sin->sin_addr, 4, AF_INET); he 376 src/simh/sim_sock.c if (he) { he 377 src/simh/sim_sock.c if (hostlen < strlen(he->h_name)+1) he 379 src/simh/sim_sock.c strcpy(host, he->h_name);