Home
last modified time | relevance | path

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

/bionic/libc/include/
Dnetdb.h81 struct hostent { struct
207 void freehostent(struct hostent *);
208 struct hostent *gethostbyaddr(const void *, socklen_t, int);
209 int gethostbyaddr_r(const void *, socklen_t, int, struct hostent *, char *, size_t, struct hostent
210 struct hostent *gethostbyname(const char *);
211 int gethostbyname_r(const char *, struct hostent *, char *, size_t, struct hostent **, int *);
212 struct hostent *gethostbyname2(const char *, int);
213 int gethostbyname2_r(const char *, int, struct hostent *, char *, size_t, struct hostent **, int *);
214 struct hostent *gethostent(void);
215 int gethostent_r(struct hostent *, char *, size_t, struct hostent **, int *);
[all …]
/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/libc/dns/include/
Dresolv_netid.h77 struct hostent *android_gethostbyaddrfornet(const void *, socklen_t, int, unsigned, unsigned) __use…
78 struct hostent *android_gethostbynamefornet(const char *, int, unsigned, unsigned) __used_in_netd;
99 struct hostent *android_gethostbyaddrfornet_proxy(const void *, socklen_t, int , unsigned, unsigned…
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/libc/dns/net/
Dgethnamaddr.c138 static struct hostent *getanswer(const querybuf *, int, const char *, int,
139 res_state, struct hostent *, char *, size_t, int *);
141 static void map_v4v6_hostent(struct hostent *, char **, char *);
146 struct hostent *ht_gethostbyname(char *);
147 struct hostent *ht_gethostbyaddr(const char *, int, int);
154 static struct hostent *gethostbyname_internal(const char *, int, res_state,
155 struct hostent *, char *, size_t, int *, unsigned, unsigned);
156 static struct hostent* android_gethostbyaddrfornet_proxy_internal(const void*, socklen_t,
157 int, struct hostent *, char *, size_t, int *, unsigned, unsigned);
200 static struct hostent *
[all …]
Dsethostent.c65 static struct hostent *_hf_gethtbyname2(const char *, int, struct getnamaddr *);
91 struct hostent *hp; in _hf_gethtbyname()
127 static struct hostent *
130 struct hostent *hp, hent; in _hf_gethtbyname2()
244 struct hostent *hp; in _hf_gethtbyaddr()
Dgetnameinfo.c172 struct hostent *hp; in getnameinfo_inet()