Searched refs:targethost (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dhostconfig.c124 char *targethost = NULL; local
161 targethost = optarg;
183 if (targethost) {
186 fprintf(stdout, "targethost = %s\n", targethost);
188 if ((hp = gethostbyname(targethost)) == NULL) {
189 if ((targetaddr.s_addr = inet_addr(targethost)) ==
193 cmdname, targethost);
200 cmdname, targethost);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping.h124 extern char *targethost;
H A Dping_aux.c413 Printf("%s is alive\n", targethost);
422 targethost, tmp_buf);
613 Printf("%s is alive\n", targethost);
636 targethost, tmp_buf);
924 Printf("%s is alive\n", targethost);
947 targethost, tmp_buf);
H A Dping.c126 char *targethost; variable
530 targethost = argv[optind];
702 Printf("PING %s: %d data bytes\n", targethost, datalen);
716 targethost, abuf, datalen);
874 get_hostinfo(targethost, family_input, &ai_dst);
876 print_unknown_host_msg("", targethost);
1817 Printf("no answer from %s\n", targethost);
1819 Printf("no answer from %s(%s)\n", targethost,
2169 targethost, cc, i);
2431 Printf("\n----%s PING Statistics----\n", targethost);
[all...]
H A Dping_aux6.c448 Printf("%s is alive\n", targethost);
457 targethost, tmp_buf);
752 Printf("%s is alive\n", targethost);
776 targethost, tmp_buf);
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dnbns_rq.c268 struct in_addr *targethost, char *system, char *workgroup)
293 rqp->nr_dest = *targethost;
267 nbns_getnodestatus(struct nb_ctx *ctx, struct in_addr *targethost, char *system, char *workgroup) argument

Completed in 85 milliseconds