Searched refs:targethost (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | hostconfig.c | 122 char *targethost = NULL; local 159 targethost = optarg; 181 if (targethost) { 184 fprintf(stdout, "targethost = %s\n", targethost); 186 if ((hp = gethostbyname(targethost)) == NULL) { 187 if ((targetaddr.s_addr = inet_addr(targethost)) == 191 cmdname, targethost); 198 cmdname, targethost);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
H A D | ping_aux.c | 413 Printf("%s is alive\n", targethost); in check_reply() 422 targethost, tmp_buf); in check_reply() 613 Printf("%s is alive\n", targethost); in check_reply() 636 targethost, tmp_buf); in check_reply() 924 Printf("%s is alive\n", targethost); in check_reply() 947 targethost, tmp_buf); in check_reply()
|
H A D | ping.h | 124 extern char *targethost;
|
H A D | ping.c | 127 char *targethost; variable 530 targethost = argv[optind]; in main() 702 Printf("PING %s: %d data bytes\n", targethost, datalen); in main() 716 targethost, abuf, datalen); in main() 874 get_hostinfo(targethost, family_input, &ai_dst); in resolve_nodes() 876 print_unknown_host_msg("", targethost); in resolve_nodes() 1817 Printf("no answer from %s\n", targethost); in send_scheduled_probe() 1819 Printf("no answer from %s(%s)\n", targethost, in send_scheduled_probe() 2169 targethost, cc, i); in pinger() 2431 Printf("\n----%s PING Statistics----\n", targethost); in finish()
|
H A D | ping_aux6.c | 448 Printf("%s is alive\n", targethost); in check_reply6() 457 targethost, tmp_buf); in check_reply6() 752 Printf("%s is alive\n", targethost); in check_reply6() 776 targethost, tmp_buf); in check_reply6()
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | nbns_rq.c | 268 struct in_addr *targethost, char *system, char *workgroup) in nbns_getnodestatus() argument 293 rqp->nr_dest = *targethost; in nbns_getnodestatus()
|