Searched refs:hostfile (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dselect.c110 char hostfile[PATH_MAX + 1]; local
208 (void) snprintf(hostfile, sizeof (hostfile),
211 if ((reqhost = iffile_to_hostname(hostfile)) != NULL) {
H A Dinit_reboot.c62 char hostfile[PATH_MAX + 1]; local
87 (void) snprintf(hostfile, sizeof (hostfile), "/etc/hostname.%s",
90 if ((reqhost = iffile_to_hostname(hostfile)) != NULL) {
/illumos-gate/usr/src/cmd/ypcmd/mknetid/
H A Dmknetid.c99 static char *hostfile = HOSTS; /* hosts file */ variable
141 hf = openfile(hostfile);
150 dohostfile(hostfile, hf);
279 dohostfile(hostfile, hf)
280 char *hostfile;
288 curfile = hostfile;
510 { 'h', HOSTS, &hostfile }

Completed in 56 milliseconds