Lines Matching refs:host
393 char *host = argv[0], *eaddr = argv[1];
403 gai_error = getaddrinfo(host, NULL, &hints, &res);
405 fprintf(stderr, "ndp: %s: %s\n", host,
427 errx(1, "RTM_GET(%s) failed", host);
448 printf("cannot intuit interface index and type for %s\n", host);
460 get(char *host)
469 gai_error = getaddrinfo(host, NULL, &hints, &res);
471 fprintf(stderr, "ndp: %s: %s\n", host,
483 printf("%s (%s) -- no entry\n", host, host_buf);
492 delete(char *host)
506 gai_error = getaddrinfo(host, NULL, &hints, &res);
508 fprintf(stderr, "ndp: %s: %s\n", host,
516 errx(1, "RTM_GET(%s) failed", host);
532 printf("cannot locate %s\n", host);
546 printf("%s (%s) deleted\n", host, host_buf);