Lines Matching refs:host

293 	char		*host;
302 host = NULL;
304 host = clnames->h_hostservs[0].h_host;
306 host = lq->ld_host;
308 audit_mountd_mount(host, lq->ld_path, lq->ld_status); /* BSM */
312 mntlist_new(host, lq->ld_rpath);
692 anon_client(char *host)
707 if (host == NULL)
710 anon_hs->h_host = strdup(host);
729 char host[MAXIPADDRLEN];
743 (void) inet_ntoa_r(sa->sin_addr, host);
750 host, INET6_ADDRSTRLEN);
757 *serv = anon_client(host);
832 register char *host;
838 host = clnames->h_hostservs->h_host;
842 syslog(LOG_ERR, "couldn't send reply to %s", host);
844 syslog(LOG_ERR, "couldn't send reply to %s: %m", host);
1045 enqueue_logging_data(char *host, SVCXPRT *transp, char *path,
1056 * We might not yet have the host...
1058 if (host) {
1059 DTRACE_PROBE1(mountd, log_host, host);
1060 lq->ld_host = strdup(host);
1141 char *host = NULL;
1163 * get the host name now in case we need to spit out an
1178 host = clnames->h_hostservs[0].h_host;
1189 host, path);
1247 host = clnames->h_hostservs[0].h_host;
1391 (host == NULL) ? "unknown host" : host,
1398 enqueued = enqueue_logging_data(host, transp, path, rpath,
1401 if (host == NULL) {
1404 host = clnames->h_hostservs[0].h_host;
1408 audit_mountd_mount(host, path, audit_status); /* BSM */
1410 mntlist_new(host, rpath); /* add entry to mount list */
1710 * Determine whether an access list grants rights to a particular host.
1717 * to resolve client's IP address to host name. If they aren't NULL
1728 char *host;
1784 * We need to get the host name if we haven't gotten
1804 host = clnames->h_hostservs[i].h_host;
1814 if (strchr(host, '.') == NULL)
1817 off = strlen(host) - strlen(gr);
1819 strcasecmp(host + off, gr) == 0) {
1828 if (strcasecmp(gr, host) == 0) {
1837 * We need to get the host name if we haven't gotten
2185 boolean_t reject = B_FALSE; /* if none= contains the host */
2275 * In the case where, rw,ro=<host> we would like
2276 * to remove RW access for the host. In all other cases
2467 * In the case where, rw,ro=<host> we would like
2468 * to remove RW access for the host. In all other cases
2613 char *host, *path, *remove_path;
2632 * this host from the mount entries.
2637 host = clnames->h_hostservs[0].h_host;
2640 syslog(LOG_NOTICE, "UNMOUNT: %s unmounted %s", host, path);
2642 audit_mountd_umount(host, path);
2651 mntlist_delete(host, remove_path); /* remove from mount list */
2665 char *host;
2685 host = clnames->h_hostservs[0].h_host;
2690 mntlist_delete_all(host);
2693 syslog(LOG_NOTICE, "UNMOUNTALL: from %s", host);