Home | History | Annotate | Download | only in cups

Lines Matching defs:host

284 int					/* O - 1 if local host, 0 otherwise */
316 char * /* O - Host name */
319 char *name, /* I - Host name buffer */
401 struct hostent *host; /* Host from name service */
406 host = gethostbyaddr((char *)&(addr->ipv6.sin6_addr),
410 host = gethostbyaddr((char *)&(addr->ipv4.sin_addr),
413 if (host == NULL)
425 strlcpy(name, host->h_name, (size_t)namelen);
677 struct hostent * /* O - Host entry */
735 * We have an IPv4 address; break it up and provide the host entry
750 * Fill in the host entry and return it...
834 /* Local host name */
835 char localStr[1024]; /* Local host name C string */
857 struct hostent *host; /* Host entry to get FQDN */
859 if ((host = gethostbyname(s)) != NULL && host->h_name)
865 strlcpy(s, host->h_name, (size_t)slen);