/src/usr.sbin/bootp/common/ |
trygetif.c | 32 struct hostent *hep; local in function:main 44 hep = gethostbyname(argv[1]); 45 if (!hep) { 49 memcpy(&dst_addr, hep->h_addr, sizeof(dst_addr));
|
/src/usr.sbin/bootp/bootpgw/ |
bootpgw.c | 143 struct hostent *hep; 207 hep = gethostbyname(myhostname); 208 if (!hep) { 212 bcopy(hep->h_addr, (char *)&my_ip_addr, sizeof(my_ip_addr)); 330 hep = gethostbyname(servername); 331 if (!hep) { 335 memcpy(&serv_addr.sin_addr, hep->h_addr, 142 struct hostent *hep; local in function:main
|
/src/usr.sbin/bootp/bootptest/ |
bootptest.c | 136 struct hostent *hep; local in function:main 251 hep = gethostbyname(servername); 252 if (!hep) { 256 memcpy(&sin_server.sin_addr, hep->h_addr, 329 hep = gethostbyname(hostname); 330 if (!hep) { 334 bcopy(hep->h_addr, &bp->bp_ciaddr, hep->h_length);
|
/src/usr.sbin/bootp/bootpd/ |
bootpd.c | 180 struct hostent *hep; 367 hep = gethostbyname(hostname); 368 if (!hep) { 372 bcopy(hep->h_addr, (char *)&my_ip_addr, sizeof(my_ip_addr)); 177 struct hostent *hep; local in function:main
|