Lines Matching refs:host
225 char *host = argv[0], *eaddr = argv[1];
232 sin->sin_addr.s_addr = inet_addr(host);
234 hp = gethostbyname(host);
236 (void) fprintf(stderr, "arp: %s: unknown host\n",
237 host);
287 perror(host);
298 get(char *host)
310 sin->sin_addr.s_addr = inet_addr(host);
312 hp = gethostbyname(host);
314 (void) fprintf(stderr, "arp: %s: unknown host\n",
315 host);
330 host, inet_ntoa(sin->sin_addr));
340 (void) printf("%s (%s) at %s", host,
348 (void) printf("%s (%s) at (incomplete)", host,
366 delete(char *host)
376 sin->sin_addr.s_addr = inet_addr(host);
378 hp = gethostbyname(host);
380 (void) fprintf(stderr, "arp: %s: unknown host\n",
381 host);
396 host, inet_ntoa(sin->sin_addr));
402 (void) printf("%s (%s) deleted\n", host, inet_ntoa(sin->sin_addr));