Searched refs:servent (Results 1 – 6 of 6) sorted by relevance
/kernel/liteos_m/kal/libc/newlib/porting/include/ |
D | netdb.h | 124 struct servent { struct 149 struct servent *getservent(void); argument 150 struct servent *getservbyname(const char *name, const char *proto); 151 struct servent *getservbyport(int port, const char *proto); 180 int getservbyport_r(int port, const char * __restrict proto, struct servent * __restrict result_buf… 181 char * __restrict buf, size_t buflen, struct servent ** __restrict result); 182 int getservbyname_r(const char *name, const char *proto, struct servent *result_buf, char *buf, siz… 183 struct servent **result);
|
/kernel/liteos_a/testsuites/unittest/net/netdb/full/ |
D | net_netdb_test_018.cpp | 57 struct servent *se1 = nullptr; in GetServEntTest() 58 struct servent *se2 = nullptr; in GetServEntTest() 59 struct servent *se3 = nullptr; in GetServEntTest()
|
D | net_netdb_test_011.cpp | 50 struct servent *se1 = nullptr; in GetServByPortTest() 51 struct servent *se = getservbyport(htons(test_port_no), "tcp"); in GetServByPortTest()
|
D | net_netdb_test_016.cpp | 52 struct servent *se1 = nullptr; in GetServByNameTest() 53 struct servent *se2 = nullptr; in GetServByNameTest()
|
D | net_netdb_test_017.cpp | 46 struct servent se; in GetServByNameRTest() 47 struct servent *result = NULL; in GetServByNameRTest()
|
D | net_netdb_test_012.cpp | 49 struct servent se, *result = NULL; in GetServByPortRTest()
|