he 179 src/simh/sim_sock.c struct hostent *he; he 247 src/simh/sim_sock.c he = gethostbyaddr((char *)&ipaddr, 4, AF_INET); he 248 src/simh/sim_sock.c if (NULL != he) he 249 src/simh/sim_sock.c cname = he->h_name; he 258 src/simh/sim_sock.c he = gethostbyname(hostname); he 259 src/simh/sim_sock.c if (he) { he 260 src/simh/sim_sock.c ips = (struct in_addr **)he->h_addr_list; he 262 src/simh/sim_sock.c cname = he->h_name; he 338 src/simh/sim_sock.c struct hostent *he; he 370 src/simh/sim_sock.c he = NULL; he 372 src/simh/sim_sock.c he = gethostbyaddr((const char *)&sin->sin_addr, 4, AF_INET); he 373 src/simh/sim_sock.c if (he) { he 374 src/simh/sim_sock.c if (hostlen < strlen(he->h_name)+1) he 376 src/simh/sim_sock.c strcpy(host, he->h_name);