Lines Matching refs:hostname
510 char hostname[256]; /* 1 */
747 static inline int we_saw_this_host_before(const char *hostname)
768 char *hostname;
809 /* NB: hostname, mounthost, filteropts must be free()d prior to return */
813 hostname = xstrdup(mp->mnt_fsname);
815 s = strchr(hostname, ':');
818 /* Ignore all but first hostname in replicated mounts
820 s = strchr(hostname, ',');
827 if (!inet_aton(hostname, &server_addr.sin_addr)) {
828 hp = gethostbyname(hostname);
830 bb_herror_msg("%s", hostname);
1086 if (bg && we_saw_this_host_before(hostname)) {
1099 mount_server_addr.sin_addr.s_addr = inet_addr(hostname);
1185 /* try to mount hostname:pathname */
1248 hostname, pathname,
1263 hostname, pathname,
1309 strncpy(data.hostname, hostname, sizeof(data.hostname));
1355 free(hostname);
1417 // (s => slash after hostname)