Lines Matching refs:host
344 char *host = argv[0], *eaddr = argv[1];
354 gai_error = getaddrinfo(host, NULL, &hints, &res);
356 warnx("%s: %s\n", host, gai_strerror(gai_error));
381 errx(1, "RTM_GET(%s) failed", host);
405 warnx("cannot intuit interface index and type for %s", host);
417 get(char *host)
426 gai_error = getaddrinfo(host, NULL, &hints, &res);
428 warnx("%s: %s\n", host, gai_strerror(gai_error));
444 errx(1, "%s (%s) -- no entry", host, host_buf);
452 delete(char *host)
465 gai_error = getaddrinfo(host, NULL, &hints, &res);
467 warnx("%s: %s\n", host, gai_strerror(gai_error));
478 errx(1, "RTM_GET(%s) failed", host);
497 (void)printf("cannot locate %s\n", host);
513 (void)printf("%s (%s) deleted\n", host, host_buf);