/external/chromium/third_party/libjingle/source/talk/base/ |
H A D | nethelpers.h | 64 hostent* result_; 71 hostent* SafeGetHostByName(const char* hostname, int* herrno); 72 void FreeHostEnt(hostent* host);
|
H A D | nethelpers.cc | 62 hostent* SafeGetHostByName(const char* hostname, int* herrno) { 66 hostent* result = NULL; 68 // On Windows we have to allocate a buffer, and manually copy the hostent, 70 hostent* ent = gethostbyname(hostname); 78 int total_len = sizeof(hostent); 91 result = static_cast<hostent*>(malloc(total_len)); 95 char* p = reinterpret_cast<char*>(result) + sizeof(hostent); 97 // Copy the hostent into it, along with its embedded pointers. 127 ASSERT(kInitHostentLen > sizeof(hostent)); 134 char* aux = static_cast<char*>(buf) + sizeof(hostent); [all...] |
H A D | socketaddress.cc | 212 if (hostent* pHost = SafeGetHostByName(hostname_.c_str(), &errcode)) { 345 if (hostent* pHost = SafeGetHostByName(hostname.c_str(), &errcode)) {
|
/external/ppp/pppd/plugins/radius/ |
H A D | ip_util.c | 31 struct hostent *hp; 37 else if ((hp = gethostbyname (host)) == (struct hostent *) NULL) 105 struct hostent *hp;
|
H A D | config.c | 414 struct hostent *hp; 425 if ((hp = gethostbyname (hostname)) == (struct hostent *) NULL)
|
/external/tcpdump/missing/ |
H A D | addrinfo.h | 83 extern void freehostent (struct hostent *); 89 extern struct hostent *getipnodebyaddr (const void *, size_t, int, int *); 90 extern struct hostent *getipnodebyname (const char *, int, int, int *);
|
/external/mdnsresponder/mDNSPosix/ |
H A D | 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_bu [all...] |
/external/openssl/crypto/bio/ |
H A D | b_sock.c | 110 struct hostent *ent; 117 static void ghbn_free(struct hostent *a); 118 static struct hostent *ghbn_dup(struct hostent *a); 125 struct hostent *he; 296 static struct hostent *ghbn_dup(struct hostent *a) 298 struct hostent *ret; 302 ret=(struct hostent *)OPENSSL_malloc(sizeof(struct hostent)); [all...] |
/external/quake/quake/src/QW/client/ |
H A D | winquake.h | 109 struct hostent FAR * (PASCAL FAR *pgethostbyname)(const char FAR * name);
110 struct hostent FAR * (PASCAL FAR *pgethostbyaddr)(const char FAR * addr,
|
H A D | net_udp.c | 121 struct hostent *h;
|
H A D | net_wins.c | 97 struct hostent *h;
|
/external/quake/quake/src/WinQuake/ |
H A D | winquake.h | 110 struct hostent FAR * (PASCAL FAR *pgethostbyname)(const char FAR * name);
111 struct hostent FAR * (PASCAL FAR *pgethostbyaddr)(const char FAR * addr,
|
H A D | net_mp.cpp | 51 struct hostent *local = NULL;
380 struct hostent *hostentry;
397 struct hostent *hostentry;
|
H A D | net_wins.cpp | 51 struct hostent FAR * (PASCAL FAR *pgethostbyname)(const char FAR * name);
52 struct hostent FAR * (PASCAL FAR *pgethostbyaddr)(const char FAR * addr,
93 struct hostent *local = NULL;
512 struct hostent *hostentry;
529 struct hostent *hostentry;
|
H A D | mplpc.cpp | 268 struct hostent HostEnt;
457 ReconstructHostEnt(struct hostent *s, void *flattened)
459 struct hostent *old = (struct hostent *) flattened;
586 struct hostent *
592 struct hostent *retVal;
608 retVal = (struct hostent *) r->Data;
624 struct hostent *
631 struct hostent *retVal;
649 retVal = (struct hostent *) [all...] |
H A D | mpdosock.h | 147 struct hostent {
struct 740 struct hostent FAR * PASCAL FAR gethostbyaddr(const char FAR * addr,
743 struct hostent FAR * PASCAL FAR gethostbyname(const char FAR * name);
781 typedef struct hostent HOSTENT;
782 typedef struct hostent *PHOSTENT;
783 typedef struct hostent FAR *LPHOSTENT;
|
H A D | net_udp.cpp | 141 struct hostent *local; 453 struct hostent *hostentry; 470 struct hostent *hostentry;
|
/external/openssl/apps/ |
H A D | s_socket.c | 100 static struct hostent *GetHostByName(char *name); 386 struct hostent *h1,*h2; 519 struct hostent *he; 570 struct hostent ent; 577 static struct hostent *GetHostByName(char *name) 579 struct hostent *ret; 605 memcpy((char *)&(ghbn_cache[lowi].ent),ret,sizeof(struct hostent));
|
/external/dropbear/ |
H A D | fake-rfc2553.c | 50 struct hostent *hp; 153 struct hostent *hp;
|
/external/openssh/openbsd-compat/ |
H A D | fake-rfc2553.c | 51 struct hostent *hp; 158 struct hostent *hp;
|
/external/openssh/ |
H A D | logintest.c | 88 struct hostent *he;
|
/external/libpcap/ |
H A D | nametoaddr.c | 107 struct hostent *hp;
|
/external/libppp/src/ |
H A D | defs.c | 156 struct hostent *hp;
|
/external/quake/quake/src/QW/qwfwd/ |
H A D | qwfwd.c | 106 struct hostent *phe;
|
/external/tcpdump/ |
H A D | addrtoname.c | 103 * h_name in struct hostent is only valid. 105 static struct hostent * 108 static struct hostent host; 228 register struct hostent *hp; 276 register struct hostent *hp;
|