Searched refs:hostname (Results 1 - 15 of 15) sorted by relevance

/darwin-on-arm/xnu/bsd/sys/
H A Dkernel.h82 extern char hostname[MAXHOSTNAMELEN];
/darwin-on-arm/xnu/config/
H A Dnewvers.pl62 my $HOST=`hostname -f`;
/darwin-on-arm/xnu/tools/tests/libMicro/
H A DbenchDS.sh104 hostname=`uname -n`
110 p_ipaddr=`getent hosts $hostname | awk '{print $1}'`
117 p_ipaddr=`getent hosts $hostname | awk '{print $1}'`
150 printf "!Machine_name: %30s\n" "$hostname"
H A Dbench.sh109 hostname=`uname -n`
115 p_ipaddr=`getent hosts $hostname | awk '{print $1}'`
122 p_ipaddr=`getent hosts $hostname | awk '{print $1}'`
155 printf "!Machine_name: %30s\n" "$hostname"
H A Dcoreos_bench.sh117 hostname=`uname -n`
123 p_ipaddr=`getent hosts $hostname | awk '{print $1}'`
130 p_ipaddr=`getent hosts $hostname | awk '{print $1}'`
163 printf "!Machine_name: %30s\n" "$hostname"
H A Dembd_bench.sh116 hostname=`uname -n`
122 p_ipaddr=`getent hosts $hostname | awk '{print $1}'`
129 p_ipaddr=`getent hosts $hostname | awk '{print $1}'`
162 printf "!Machine_name: %30s\n" "$hostname"
/darwin-on-arm/xnu/bsd/nfs/
H A Dnfs_boot.c152 * (2) Use RPC/bootparam/whoami to get our hostname,
254 printf("nfs_boot: hostname %s\n", hostname);
430 * client name (hostname)
434 * The hostname and domainname are set here for convenience.
527 bcopy(str->data, hostname, cn_len);
528 hostname[cn_len] = '\0';
611 /* client name (hostname) */
614 bcopy(hostname, str->data, cn_len);
H A Dnfs.h243 user32_addr_t hostname; /* server's name */ member in struct:nfs_args
245 char *hostname; /* server's name */ member in struct:nfs_args
286 user_addr_t hostname __attribute((aligned(8))); /* server's name */
H A Dnfs_vfsops.c1517 args.hostname = CAST_USER_ADDR_T(tempargs.hostname);
1543 error = copystr(CAST_DOWN(void *, args.hostname), mntfrom, MAXPATHLEN-1, &len);
1545 error = copyinstr(args.hostname, mntfrom, MAXPATHLEN-1, &len);
/darwin-on-arm/xnu/bsd/kern/
H A Dbsd_stubs.c331 * Copy the "hostname" variable into a caller-provided buffer
334 * the NULL character in the hostname.
340 * "hostname" is null-terminated, and "hostnamelen" is equivalent to strlen(hostname).
343 strlcpy(buf, hostname, bufsize);
H A Dbsd_init.c224 char hostname[MAXHOSTNAMELEN]; variable
H A Dkern_sysctl.c2404 error = sysctl_io_string(req, hostname, sizeof(hostname), 1, &changed);
2412 SYSCTL_PROC(_kern, KERN_HOSTNAME, hostname,
/darwin-on-arm/xnu/bsd/netinet6/
H A Din6_ifattach.c130 * We currently use SHA1(hostname) for it.
141 int hostnlen = strlen(hostname);
152 SHA1Update(&ctxt, hostname, hostnlen);
668 * compute NI group address, based on the current hostname setting.
H A Dicmp6.c1248 * with hostname changes by sethostname(3)
1250 #define hostnamelen strlen(hostname)
1416 * hostname (returned by gethostname(3)).
1420 * truncated hostname.
1422 n = ni6_nametodns(hostname, hostnamelen, 0);
1547 * XXX do we really have FQDN in variable "hostname"?
1549 n->m_next = ni6_nametodns(hostname, hostnamelen, oldfqdn);
1639 * guess if it looks like shortened hostname, or FQDN.
1640 * shortened hostname needs two trailing "\0".
H A Din6.c1871 #define hostnamelen strlen(hostname)
1881 if (in6_nigroup(ifp, hostname, hostnamelen, &mltaddr.sin6_addr)

Completed in 128 milliseconds