Lines Matching refs:hostname
205 char *hostname;
320 static char hostname[MAXHOSTNAMELEN];
949 if (inet_aton(hostname, &addr->sin_addr) != 1) {
952 hent = gethostbyname(hostname);
960 hostname);
966 hostname);
972 strcpy(hostname, hent->h_name);
994 hostname);
1479 len += sprintf(dst + len, "%s-", nc->ch->hostname);
1964 dpp->ch->hostname, dpp->buts_name);
2109 strcpy(hostname, optarg);
2229 ch->hostname = strdup(inet_ntoa(addr->sin_addr));
2230 printf("server: connection from %s\n", ch->hostname);
2269 if (ch->hostname)
2270 free(ch->hostname);
2373 nc->ch->hostname, nc->fd);
2423 nc->ch->hostname, nc->fd);
2580 printf("blktrace: connecting to %s\n", hostname);