Home
last modified time | relevance | path

Searched refs:hostent (Results 1 – 9 of 9) sorted by relevance

/bionic/libc/include/
Dnetdb.h81 struct hostent { struct
211 struct hostent* gethostbyaddr(const void* __addr, socklen_t __length, int __type);
212 …addr, socklen_t __length, int __type, struct hostent* __ret, char* __buf, size_t __buf_size, struc…
213 struct hostent* gethostbyname(const char* __name);
214 …t gethostbyname_r(const char* __name, struct hostent* __ret, char* __buf, size_t __buf_size, struc…
215 struct hostent* gethostbyname2(const char* __name, int __af);
216 …name2_r(const char* __name, int __af, struct hostent* __ret, char* __buf, size_t __buf_size, struc…
218 struct hostent* gethostent(void);
/bionic/libc/dns/include/
Dresolv_netid.h84 struct hostent *android_gethostbyaddrfornet(const void *, socklen_t, int, unsigned, unsigned) __use…
85 struct hostent *android_gethostbynamefornet(const char *, int, unsigned, unsigned) __used_in_netd;
92 struct hostent *android_gethostbyaddrfornetcontext(const void *, socklen_t, int, const struct andro…
93 struct hostent *android_gethostbynamefornetcontext(const char *, int, const struct android_net_cont…
108 struct hostent *android_gethostbyaddrfornetcontext_proxy(const void *, socklen_t, int , const struc…
Dhostent.h44 struct hostent *netbsd_gethostent_r(FILE *, struct hostent *, char *, size_t, int *);
51 struct hostent *hp;
Dresolv_static.h27 struct hostent host;
/bionic/tests/
Dnetdb_test.cpp172 static void VerifyLocalhost(hostent *hent) { in VerifyLocalhost()
186 hostent* hp = gethostbyname("localhost"); in TEST()
191 hostent* hp = gethostbyname2("localhost", AF_INET); in TEST()
196 hostent hent; in TEST()
197 hostent *hp; in TEST()
207 hostent hent2; in TEST()
208 hostent *hp2; in TEST()
218 hostent hent; in TEST()
219 hostent *hp; in TEST()
229 hostent hent2; in TEST()
[all …]
/bionic/tests/headers/posix/
Dnetdb_h.c34 TYPE(struct hostent); in netdb_h()
35 STRUCT_MEMBER(struct hostent, char*, h_name); in netdb_h()
36 STRUCT_MEMBER(struct hostent, char**, h_aliases); in netdb_h()
37 STRUCT_MEMBER(struct hostent, int, h_addrtype); in netdb_h()
38 STRUCT_MEMBER(struct hostent, int, h_length); in netdb_h()
39 STRUCT_MEMBER(struct hostent, char**, h_addr_list); in netdb_h()
108 FUNCTION(gethostent, struct hostent* (*f)(void)); in netdb_h()
/bionic/libc/dns/net/
Dgethnamaddr.c146 static struct hostent *getanswer(const querybuf *, int, const char *, int,
147 res_state, struct hostent *, char *, size_t, int *);
149 static void map_v4v6_hostent(struct hostent *, char **, char *);
154 struct hostent *ht_gethostbyname(char *);
155 struct hostent *ht_gethostbyaddr(const char *, int, int);
162 static struct hostent *gethostbyname_internal(const char *, int, res_state,
163 struct hostent *, char *, size_t, int *, const struct android_net_context *);
164 static struct hostent* android_gethostbyaddrfornetcontext_proxy_internal(const void*, socklen_t,
165 int, struct hostent *, char *, size_t, int *, const struct android_net_context *);
216 static struct hostent *
[all …]
Dsethostent.c65 static struct hostent *_hf_gethtbyname2(const char *, int, struct getnamaddr *);
104 struct hostent *hp; in _hf_gethtbyname()
141 struct hostent *
144 struct hostent *hp, hent; in _hf_gethtbyname2()
256 struct hostent *hp; in _hf_gethtbyaddr()
Dgetnameinfo.c176 struct hostent *hp; in getnameinfo_inet()