Home
last modified time | relevance | path

Searched refs:h_addr_list (Results 1 – 6 of 6) sorted by relevance

/f-stack/tools/libutil/
H A Drealhostname.c70 else for (; ; hp->h_addr_list++) { in realhostname()
71 if (*hp->h_addr_list == NULL) { in realhostname()
75 if (!memcmp(*hp->h_addr_list, ip, sizeof(*ip))) { in realhostname()
/f-stack/tools/compat/include/
H A Dnetdb.h117 char **h_addr_list; /* list of addresses from name server */ member
118 #define h_addr h_addr_list[0] /* address, for backward compatibility */
/f-stack/app/nginx-1.16.1/src/core/
H A Dngx_inet.c1224 if (h == NULL || h->h_addr_list[0] == NULL) { in ngx_inet_resolve_host()
1229 for (n = 0; h->h_addr_list[n] != NULL; n++) { /* void */ } in ngx_inet_resolve_host()
1234 sin.sin_addr.s_addr = *(in_addr_t *) (h->h_addr_list[i]); in ngx_inet_resolve_host()
/f-stack/tools/ipfw/
H A Dipv6.c318 memcpy(ip6addr, he->h_addr_list[0], sizeof( struct in6_addr)); in lookup_host6()
H A Dtables.c134 *ipaddr = *(struct in_addr *)he->h_addr_list[0]; in lookup_host()
H A Dipfw2.c2971 *ipaddr = *(struct in_addr *)he->h_addr_list[0]; in lookup_host()