Searched refs:hostent (Results 1 – 9 of 9) sorted by relevance
/bionic/libc/include/ |
D | netdb.h | 81 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/ |
D | resolv_netid.h | 84 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…
|
D | hostent.h | 44 struct hostent *netbsd_gethostent_r(FILE *, struct hostent *, char *, size_t, int *); 51 struct hostent *hp;
|
D | resolv_static.h | 27 struct hostent host;
|
/bionic/tests/ |
D | netdb_test.cpp | 172 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/ |
D | netdb_h.c | 34 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/ |
D | gethnamaddr.c | 146 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 …]
|
D | sethostent.c | 65 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()
|
D | getnameinfo.c | 176 struct hostent *hp; in getnameinfo_inet()
|