Home
last modified time | relevance | path

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

/third_party/node/deps/cares/src/lib/
Dares__sortaddrinfo.c93 const struct sockaddr_in6 *addr6 = CARES_INADDR_CAST(const struct sockaddr_in6 *, addr); in get_scope()
118 const struct sockaddr_in *addr4 = CARES_INADDR_CAST(const struct sockaddr_in *, addr); in get_scope()
153 const struct sockaddr_in6 *addr6 = CARES_INADDR_CAST(const struct sockaddr_in6 *, addr); in get_label()
214 const struct sockaddr_in6 *addr6 = CARES_INADDR_CAST(const struct sockaddr_in6 *, addr); in get_precedence()
365 CARES_INADDR_CAST(const struct sockaddr_in6 *, a1->ai->ai_addr); in rfc6724_compare()
368 CARES_INADDR_CAST(const struct sockaddr_in6 *, a2->ai->ai_addr); in rfc6724_compare()
Dares__addrinfo2hostent.c161 &(CARES_INADDR_CAST(struct sockaddr_in6 *, next->ai_addr)->sin6_addr), in ares__addrinfo2hostent()
167 &(CARES_INADDR_CAST(struct sockaddr_in *, next->ai_addr)->sin_addr), in ares__addrinfo2hostent()
245 &(CARES_INADDR_CAST(struct sockaddr_in6 *, next->ai_addr)->sin6_addr), in ares__addrinfo2addrttl()
255 &(CARES_INADDR_CAST(struct sockaddr_in *, next->ai_addr)->sin_addr), in ares__addrinfo2addrttl()
Dares_getnameinfo.c89 addr = CARES_INADDR_CAST(struct sockaddr_in *, sa); in ares_getnameinfo()
95 addr6 = CARES_INADDR_CAST(struct sockaddr_in6 *, sa); in ares_getnameinfo()
Dares_private.h56 #define CARES_INADDR_CAST(type, var) ((type)((void *)var)) macro
Dares_process.c1334 addr2 = &(CARES_INADDR_CAST(struct sockaddr_in *, sa))->sin_addr; in same_address()
1340 addr2 = &(CARES_INADDR_CAST(struct sockaddr_in6 *, sa))->sin6_addr; in same_address()
/third_party/node/deps/cares/src/tools/
Dacountry.c75 #define CARES_INADDR_CAST(type, var) ((type)((void *)var)) macro
246 find_country_from_cname(cname, *(CARES_INADDR_CAST(struct in_addr *, host->h_addr))); in callback()