Home
last modified time | relevance | path

Searched refs:addrinfo (Results 1 – 7 of 7) sorted by relevance

/bionic/tests/headers/posix/
Dnetdb_h.c63 TYPE(struct addrinfo); in netdb_h()
64 STRUCT_MEMBER(struct addrinfo, int, ai_flags); in netdb_h()
65 STRUCT_MEMBER(struct addrinfo, int, ai_family); in netdb_h()
66 STRUCT_MEMBER(struct addrinfo, int, ai_socktype); in netdb_h()
67 STRUCT_MEMBER(struct addrinfo, int, ai_protocol); in netdb_h()
68 STRUCT_MEMBER(struct addrinfo, socklen_t, ai_addrlen); in netdb_h()
69 STRUCT_MEMBER(struct addrinfo, struct sockaddr*, ai_addr); in netdb_h()
70 STRUCT_MEMBER(struct addrinfo, char*, ai_canonname); in netdb_h()
71 STRUCT_MEMBER(struct addrinfo, struct addrinfo*, ai_next); in netdb_h()
105 FUNCTION(freeaddrinfo, void (*f)(struct addrinfo*)); in netdb_h()
[all …]
/bionic/libc/dns/net/
Dgetaddrinfo.c219 static int explore_fqdn(const struct addrinfo *, const char *,
220 const char *, struct addrinfo **, const struct android_net_context *);
221 static int explore_null(const struct addrinfo *,
222 const char *, struct addrinfo **);
223 static int explore_numeric(const struct addrinfo *, const char *,
224 const char *, struct addrinfo **, const char *);
225 static int explore_numeric_scope(const struct addrinfo *, const char *,
226 const char *, struct addrinfo **);
227 static int get_canonname(const struct addrinfo *,
228 struct addrinfo *, const char *);
[all …]
/bionic/libc/dns/include/
Dresolv_netid.h54 struct addrinfo;
86 int android_getaddrinfofornet(const char *, const char *, const struct addrinfo *, unsigned,
87 unsigned, struct addrinfo **) __used_in_netd;
94 int android_getaddrinfofornetcontext(const char *, const char *, const struct addrinfo *,
95 const struct android_net_context *, struct addrinfo **) __used_in_netd;
/bionic/libc/include/
Dnetdb.h112 struct addrinfo { struct
120 struct addrinfo *ai_next; /* next structure in linked list */ argument
202 …__node, const char* _Nullable __service, const struct addrinfo* _Nullable __hints, struct addrinfo
203 void freeaddrinfo(struct addrinfo* _Nullable __ptr);
/bionic/tests/
Dnetdb_test.cpp35 addrinfo* ai = nullptr; in TEST()
44 addrinfo* ai = nullptr; in TEST()
51 addrinfo* ai = nullptr; in TEST()
56 for (addrinfo* p = ai; p != nullptr; p = p->ai_next) { in TEST()
73 addrinfo* ai = nullptr; in TEST()
82 addrinfo hints; in TEST()
88 addrinfo* ai = nullptr; in TEST()
93 addrinfo* tai = ai; in TEST()
104 addrinfo* ai = nullptr; in TEST()
/bionic/libc/dns/resolv/
Dres_cache.c1290 struct addrinfo* nsaddrinfo[MAXNS];
2004 struct addrinfo* nsaddrinfo[MAXNS]; in _resolv_set_nameservers_for_net()
2013 struct addrinfo hints = { in _resolv_set_nameservers_for_net()
2174 struct addrinfo* ai; in _resolv_populate_res_for_net()
Dres_init.c354 struct addrinfo hints, *ai; in __res_vinit()