hp 57 lib/replace/getaddrinfo.c static int check_hostent_err(struct hostent *hp) hp 59 lib/replace/getaddrinfo.c if (!hp) { hp 71 lib/replace/getaddrinfo.c if (!hp->h_name || hp->h_addrtype != AF_INET) { hp 77 lib/replace/getaddrinfo.c static char *canon_name_from_hostent(struct hostent *hp, hp 82 lib/replace/getaddrinfo.c *perr = check_hostent_err(hp); hp 86 lib/replace/getaddrinfo.c ret = SMB_STRDUP(hp->h_name); hp 211 lib/replace/getaddrinfo.c struct hostent *hp = NULL; hp 218 lib/replace/getaddrinfo.c hp = gethostbyname(node); hp 219 lib/replace/getaddrinfo.c err = check_hostent_err(hp); hp 224 lib/replace/getaddrinfo.c for(pptr = hp->h_addr_list; *pptr; pptr++) { hp 236 lib/replace/getaddrinfo.c ai->ai_canonname = SMB_STRDUP(hp->h_name); hp 402 lib/replace/getaddrinfo.c struct hostent *hp = gethostbyaddr( hp 406 lib/replace/getaddrinfo.c ret = check_hostent_err(hp); hp 409 lib/replace/getaddrinfo.c ret = snprintf(node, nodelen, "%s", hp->h_name); hp 1770 source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c struct hostent *hp = NULL; hp 1786 source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c hp = gethostbyname(my_hostname); hp 1787 source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c if (!hp || !hp->h_name || !*hp->h_name) { hp 1791 source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c state->my_fqdn = strdup(hp->h_name); hp 2595 source3/lib/util.c struct hostent *hp = gethostbyname(name); hp 2597 source3/lib/util.c if (!hp || !hp->h_name || !*hp->h_name) { hp 2606 source3/lib/util.c if (hp->h_aliases && (! strchr_m(hp->h_name, '.'))) { hp 2608 source3/lib/util.c for (i = 0; hp->h_aliases[i]; i++) { hp 2609 source3/lib/util.c if (strchr_m(hp->h_aliases[i], '.')) { hp 2610 source3/lib/util.c full = hp->h_aliases[i]; hp 2620 source3/lib/util.c full = hp->h_name; hp 2623 source3/lib/util.c full = hp->h_name;