Lines Matching defs:hostname
160 static const char *hostname;
258 report(LOG_ERR, "bootpd: can't get hostname\n");
262 hostname = default_hostname;
314 case 'h': /* override hostname */
324 "bootpd: missing hostname\n");
327 hostname = stmp;
379 * Get my hostname and IP address.
382 hep = gethostbyname(hostname);
593 "usage: bootpd [-a] [-i | -s] [-c chdir-path] [-d level] [-h hostname]\n"
598 fprintf(stderr, " -h n\tset the hostname to listen on\n");
630 * (Also this version does not interpret the hostname field of
662 if (strcmp(bp->bp_sname, hostname)) {
672 strcpy(bp->bp_sname, hostname);
748 hp->hostname->string);
783 strcat (tst, hp->hostname->string);
912 strcat(clntpath, hp->hostname->string);
1246 hp->hostname->string, MSG); \