Searched refs:hostent (Results 1 – 12 of 12) sorted by relevance
/kernel/liteos_m/kal/libc/newlib/porting/include/ |
D | netdb.h | 115 struct hostent { struct 139 struct hostent *gethostent(void); argument 162 struct hostent *gethostbyname(const char *name); 163 struct hostent *gethostbyaddr(const void *addr, socklen_t len, int type); 171 int gethostbyname_r(const char * name, struct hostent * ret, char * buf, size_t buflen, \ 172 struct hostent ** result, int * h_errnop); 173 int gethostbyname2_r(const char * __restrict name, int af, struct hostent * __restrict result_buf, \ 174 char * __restrict buf, size_t buflen, struct hostent ** __restrict result, \ 176 struct hostent *gethostbyname2(const char *name, int af); 177 int gethostbyaddr_r(const void * __restrict addr, __socklen_t len, int type, struct hostent * __res… [all …]
|
/kernel/liteos_m/components/net/lwip-2.1/porting/src/ |
D | netdb_porting.c | 36 struct hostent *gethostbyname(const char *name) in gethostbyname() 44 int gethostbyname_r(const char *name, struct hostent *ret, char *buf, size_t buflen, struct hostent… in gethostbyname_r()
|
D | api_shell.c | 68 struct hostent *gethostnameinfo(const char *host, char *tmphstbuf, size_t hstbuflen); 252 struct hostent *gethostnameinfo(const char *host, char *tmphstbuf, size_t hstbuflen) in gethostnameinfo() 254 static struct hostent hostbuf; in gethostnameinfo() 255 struct hostent *hp = NULL; in gethostnameinfo() 280 struct hostent *pent = gethostnameinfo(hname, tmphstbuf, hstbuflen); in get_hostip()
|
/kernel/uniproton/src/net/lwip-2.1/src/ |
D | netdb.c | 19 struct hostent *gethostbyname(const char *name) in gethostbyname() 27 int gethostbyname_r(const char *name, struct hostent *ret, char *buf, size_t buflen, in gethostbyname_r() 28 struct hostent **result, int *h_errnop) in gethostbyname_r()
|
/kernel/liteos_a/testsuites/unittest/net/netdb/full/ |
D | net_netdb_test_019.cpp | 51 struct hostent *se1 = nullptr; in GetHostEntTest() 52 struct hostent *se2 = nullptr; in GetHostEntTest() 53 struct hostent *se3 = nullptr; in GetHostEntTest()
|
D | net_netdb_test_006.cpp | 47 struct hostent *addr = gethostbyname("localhost"); in GetHostByNameTest()
|
D | net_netdb_test_008.cpp | 48 struct hostent *addr = gethostbyname2("localhost", AF_INET); in GetHostByName2Test()
|
D | net_netdb_test_004.cpp | 51 struct hostent *addr = gethostbyaddr(&ia, sizeof ia, AF_INET); in GetHostByAddrTest()
|
D | net_netdb_test_005.cpp | 37 struct hostent addr, *result = NULL; in GetHostByAddrRTest()
|
D | net_netdb_test_007.cpp | 48 struct hostent addr, *result = NULL; in GetHostByNameRTest()
|
D | net_netdb_test_009.cpp | 47 struct hostent addr, *result = NULL; in GetHostByName2RTest()
|
/kernel/liteos_a/net/lwip-2.1/enhancement/src/ |
D | api_shell.c | 141 struct hostent *gethostnameinfo(const char *host); 1573 struct hostent *gethostnameinfo(const char *host) 1575 static struct hostent hostbuf; 1576 struct hostent *hp = NULL; 1594 struct hostent *pent = gethostnameinfo(hname);
|