Searched refs:CARES_INADDR_CAST (Results 1 – 6 of 6) sorted by relevance
/third_party/node/deps/cares/src/lib/ |
D | ares__sortaddrinfo.c | 93 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()
|
D | ares__addrinfo2hostent.c | 161 &(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()
|
D | ares_getnameinfo.c | 89 addr = CARES_INADDR_CAST(struct sockaddr_in *, sa); in ares_getnameinfo() 95 addr6 = CARES_INADDR_CAST(struct sockaddr_in6 *, sa); in ares_getnameinfo()
|
D | ares_private.h | 56 #define CARES_INADDR_CAST(type, var) ((type)((void *)var)) macro
|
D | ares_process.c | 1334 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/ |
D | acountry.c | 75 #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()
|