Lines Matching defs:hostname
258 static char *hostname = NULL;
365 hostname = optarg;
390 * When hostname is NULL, wild card bind addrs are obtained from
392 * hostname or servname is non NULL.
393 * So when hostname is NULL, set dummy value to servname.
398 servname = (hostname == NULL) ? "0" /* dummy */ : NULL;
404 error = getaddrinfo(hostname, servname, &hints, &res);
406 syslog(LOG_ERR, "-a %s: %s", hostname, gai_strerror(error));
413 syslog(LOG_ERR, "-a %s: getaddrinfo failed", hostname);
448 syslog(LOG_ERR, "-a %s: unknown address family", hostname);