Lines Matching defs:hostname
272 static char *hostname = NULL;
379 hostname = optarg;
404 * When hostname is NULL, wild card bind addrs are obtained from
406 * hostname or servname is non NULL.
407 * So when hostname is NULL, set dummy value to servname.
412 servname = (hostname == NULL) ? "0" /* dummy */ : NULL;
418 error = getaddrinfo(hostname, servname, &hints, &res);
420 syslog(LOG_ERR, "-a %s: %s", hostname, gai_strerror(error));
427 syslog(LOG_ERR, "-a %s: getaddrinfo failed", hostname);
462 syslog(LOG_ERR, "-a %s: unknown address family", hostname);