Searched refs:host_name (Results 1 - 9 of 9) sorted by relevance

/opensolaris-onvv-gate/usr/src/cmd/ypcmd/
H A Dmkalias.c271 char host_name[PBLKSIZ]; local
287 sysinfo(SI_HOSTNAME, host_name, sizeof (host_name));
288 value.dptr = host_name;
/opensolaris-onvv-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_svc.c101 char **host_name; /* store -a opts */ variable
418 host_name = (char **)malloc(host_name_count * sizeof (char *));
419 if (host_name == NULL) {
460 host_name[addrix] =
462 if (host_name[addrix] !=
465 host_name[addrix]);
H A Dsm_statd.h61 /* Increment size for realloc of array host_name */
169 extern char **host_name; /* store -a opts */
H A Dsm_proc.c1048 * with the existing host_name[] list to come up with
1052 * will be stored in the array, host_name.
1133 * the aliases to the contents of host_name, and if an
1134 * alias is not already present, adds it to host_name[].
1157 * in_host_array checks if the given hostname exists in the host_name
1172 if (strcmp(host_name[i], host) == 0)
1180 * add_to_host_array adds a hostname to the host_name array. But if
1183 * nothing and leaves host_name the way it was previous to the call.
1190 /* Make sure we don't overrun host_name. */
1193 new_block = realloc((void *)host_name,
[all...]
H A Dsm_statd.c607 ntf.mon_name = host_name[i];
/opensolaris-onvv-gate/usr/src/cmd/keyserv/
H A Dnewkey.c70 #define local_host(host_name) self_check(host_name)
/opensolaris-onvv-gate/usr/src/cmd/vntsd/
H A Dvntsd.c277 char host_name[MAXPATHLEN]; local
284 if (gethostname(host_name, MAXPATHLEN) != 0) {
297 err = getaddrinfo(host_name, NULL, &hints, &res);
/opensolaris-onvv-gate/usr/src/cmd/svr4pkg/libinst/
H A Dmntinfo.c151 static char host_name[HOST_NM_LN]; local
157 (void) sysinfo(SI_HOSTNAME, host_name, HOST_NM_LN);
158 hn_len = strlen(host_name);
179 if (strncmp(source, host_name, hn_len) == 0 &&
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.telnetd.c2740 char host_name[MAXHOSTNAMELEN]; local
2879 if (getnameinfo((const struct sockaddr *) who, wholen, host_name,
2880 sizeof (host_name), NULL, 0, 0) == 0) {
2881 host = host_name;

Completed in 193 milliseconds