he 180 src/simh/sim_sock.c struct hostent *he; he 248 src/simh/sim_sock.c he = gethostbyaddr((char *)&ipaddr, 4, AF_INET); he 249 src/simh/sim_sock.c if (NULL != he) he 250 src/simh/sim_sock.c cname = he->h_name; he 259 src/simh/sim_sock.c he = gethostbyname(hostname); he 260 src/simh/sim_sock.c if (he) { he 261 src/simh/sim_sock.c ips = (struct in_addr **)he->h_addr_list; he 263 src/simh/sim_sock.c cname = he->h_name; he 339 src/simh/sim_sock.c struct hostent *he; he 371 src/simh/sim_sock.c he = NULL; he 373 src/simh/sim_sock.c he = gethostbyaddr((const char *)&sin->sin_addr, 4, AF_INET); he 374 src/simh/sim_sock.c if (he) { he 375 src/simh/sim_sock.c if (hostlen < strlen(he->h_name)+1) he 377 src/simh/sim_sock.c strcpy(host, he->h_name);