Lines Matching defs:hp
347 struct hostent *hp;
351 if ((hp = gethostbyname(*argv)) == NULL) {
356 dns = *(u_int32_t *)hp->h_addr;
383 struct hostent *hp;
387 if ((hp = gethostbyname(*argv)) == NULL) {
392 wins = *(u_int32_t *)hp->h_addr;
421 struct hostent *hp;
441 if ((hp = gethostbyname(arg)) == NULL) {
445 local = *(u_int32_t *)hp->h_addr;
462 if ((hp = gethostbyname(colon)) == NULL) {
466 remote = *(u_int32_t *)hp->h_addr;
1710 struct hostent *hp;
1725 if ((hp = gethostbyname(hostname)) != NULL) {
1726 local = *(u_int32_t *)hp->h_addr;