/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
Socklib_internals.h | 27 struct hostent * _gethostbyhtname (const char *, int);
28 struct hostent * _gethostbydnsname (const char *, int);
29 struct hostent * _gethostbynisname (const char *, int);
30 struct hostent * _gethostbyhtaddr (const char *, int, int);
31 struct hostent * _gethostbydnsaddr (const char *, int, int);
32 struct hostent * _gethostbynisaddr (const char *, int, int);
40 void _map_v4v6_hostent (struct hostent *hp, char **bp, int *len);
|
gethostnamadr.c | 123 struct hostent *
126 struct hostent *hp;
136 struct hostent *
139 struct hostent *hp = 0;
164 struct hostent *
167 struct hostent *hp = 0;
199 struct hostent *result, struct hostent_data *buffer)
201 struct hostent *hp;
206 memcpy(result, hp, sizeof(struct hostent));
|
gethostbyht.c | 83 static struct hostent host;
110 struct hostent *
175 struct hostent *
178 register struct hostent *p;
196 struct hostent *
199 register struct hostent *p;
|
gethostbynis.c | 56 static struct hostent *
63 static struct hostent h;
78 return ((struct hostent *)NULL);
81 return ((struct hostent *)NULL);
124 struct hostent *
130 struct hostent *
|
/external/curl/lib/ |
hostip4.c | 130 struct hostent *h = NULL; 132 struct hostent *buf = NULL; 175 (struct hostent *)buf, 176 (char *)buf + sizeof(struct hostent), 177 CURL_HOSTENT_SIZE - sizeof(struct hostent), 194 (struct hostent *)buf, 195 (char *)buf + sizeof(struct hostent), 196 CURL_HOSTENT_SIZE - sizeof(struct hostent), 236 * call, but instead several of the pointers in the hostent structs will 253 (sizeof(struct hostent) + sizeof(struct hostent_data))) [all...] |
asyn.h | 29 struct hostent; 135 * successful, the 'hostent' is returned and the forth argument will point to
|
/bionic/libc/dns/include/ |
resolv_netid.h | 84 struct hostent *android_gethostbyaddrfornet(const void *, socklen_t, int, unsigned, unsigned) __used_in_netd; 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 android_net_context *) __used_in_netd; 93 struct hostent *android_gethostbynamefornetcontext(const char *, int, const struct android_net_context *) __used_in_netd; 108 struct hostent *android_gethostbyaddrfornetcontext_proxy(const void *, socklen_t, int , const struct android_net_context *) __LIBC_HIDDEN__;
|
resolv_static.h | 27 struct hostent host;
|
hostent.h | 1 /* $NetBSD: hostent.h,v 1.2 2013/08/27 09:56:12 christos Exp $ */ 44 struct hostent *netbsd_gethostent_r(FILE *, struct hostent *, char *, size_t, int *); 51 struct hostent *hp;
|
/bionic/libc/include/ |
netdb.h | 81 struct hostent { struct 211 struct hostent* gethostbyaddr(const void* __addr, socklen_t __length, int __type); 212 int gethostbyaddr_r(const void* __addr, socklen_t __length, int __type, struct hostent* __ret, char* __buf, size_t __buf_size, struct hostent** __result, int* __h_errno_ptr) __INTRODUCED_IN(23); 213 struct hostent* gethostbyname(const char* __name); 214 int gethostbyname_r(const char* __name, struct hostent* __ret, char* __buf, size_t __buf_size, struct hostent** __result, int* __h_errno_ptr); 215 struct hostent* gethostbyname2(const char* __name, int __af); 216 int gethostbyname2_r(const char* __name, int __af, struct hostent* __ret, char* __buf, size_t __buf_size, struct hostent** __result, int* __h_errno_ptr) __INTRODUCED_IN(23) [all...] |
/external/syslinux/core/lwip/src/include/lwip/ |
netdb.h | 72 struct hostent { struct 100 struct hostent *lwip_gethostbyname(const char *name); 101 int lwip_gethostbyname_r(const char *name, struct hostent *ret, char *buf, 102 size_t buflen, struct hostent **result, int *h_errnop);
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/psdk_inc/ |
_ip_types.h | 25 struct hostent { struct 82 typedef struct hostent HOSTENT; 83 typedef struct hostent *PHOSTENT; 84 typedef struct hostent *LPHOSTENT;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/GetHostByDns/ |
GetHostByDns.c | 24 struct hostent * _gethostbydnsname (const char *, int);
44 struct hostent * pHost;
|
/external/ppp/pppd/plugins/radius/ |
ip_util.c | 31 struct hostent *hp; 37 else if ((hp = gethostbyname (host)) == (struct hostent *) NULL) 105 struct hostent *hp;
|
/device/linaro/bootloader/edk2/StdLib/Include/ |
netdb.h | 123 struct hostent {
struct 241 struct hostent *gethostbyaddr (const char *, socklen_t, int);
242 struct hostent *gethostbyname (const char *);
243 struct hostent *gethostbyname2 (const char *, int);
244 struct hostent *gethostent (void);
|
/bionic/tests/headers/posix/ |
netdb_h.c | 34 TYPE(struct hostent); 35 STRUCT_MEMBER(struct hostent, char*, h_name); 36 STRUCT_MEMBER(struct hostent, char**, h_aliases); 37 STRUCT_MEMBER(struct hostent, int, h_addrtype); 38 STRUCT_MEMBER(struct hostent, int, h_length); 39 STRUCT_MEMBER(struct hostent, char**, h_addr_list); 108 FUNCTION(gethostent, struct hostent* (*f)(void));
|
/bionic/tests/ |
netdb_test.cpp | 172 static void VerifyLocalhost(hostent *hent) { 186 hostent* hp = gethostbyname("localhost"); 191 hostent* hp = gethostbyname2("localhost", AF_INET); 196 hostent hent; 197 hostent *hp; 207 hostent hent2; 208 hostent *hp2; 218 hostent hent; 219 hostent *hp; 229 hostent hent2 [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/ |
netdb.h | 101 struct hostent struct 131 extern struct hostent *gethostent (void); 138 extern struct hostent *gethostbyaddr (__const void *__addr, __socklen_t __len, 145 extern struct hostent *gethostbyname (__const char *__name); 156 extern struct hostent *gethostbyname2 (__const char *__name, int __af); 168 extern int gethostent_r (struct hostent *__restrict __result_buf, 170 struct hostent **__restrict __result, 175 struct hostent *__restrict __result_buf, 177 struct hostent **__restrict __result, 181 struct hostent *__restrict __result_buf [all...] |
/external/libcups/cups/ |
http-addr.c | 401 struct hostent *host; /* Host from name service */ 677 struct hostent * /* O - Host entry */ 716 cg->hostent.h_name = (char *)name; 717 cg->hostent.h_aliases = NULL; 718 cg->hostent.h_addrtype = AF_LOCAL; 719 cg->hostent.h_length = (int)strlen(name) + 1; 720 cg->hostent.h_addr_list = cg->ip_ptrs; 726 return (&cg->hostent); 753 cg->hostent.h_name = (char *)name; 754 cg->hostent.h_aliases = NULL [all...] |
/external/ltp/testcases/kernel/syscalls/gethostbyname_r/ |
gethostbyname_r01.c | 68 struct hostent resbuf; 69 struct hostent *result;
|
/external/mdnsresponder/mDNSPosix/ |
nss_mdns.c | 379 #define ENTNAME hostent 385 // For hostent 390 typedef struct hostent hostent; typedef in typeref:struct:hostent 411 hostent * result_buf, 441 hostent * result_buf, 474 hostent * result_buf, 505 hostent * hostent; member in struct:result_map 531 hostent * result_buf [all...] |
/bionic/libc/dns/net/ |
gethnamaddr.c | 91 #include "hostent.h" 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 *) [all...] |
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_getmaps/ |
rpc_pmap_getmaps.c | 51 struct hostent *hp = NULL;
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_getport/ |
rpc_pmap_getport.c | 52 struct hostent *hp = NULL;
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clnttcp_create/ |
rpc_clnttcp_create.c | 55 struct hostent *hp = NULL;
|