Home
last modified time | relevance | path

Searched refs:servent (Results 1 – 6 of 6) sorted by relevance

/kernel/liteos_m/kal/libc/newlib/porting/include/
Dnetdb.h124 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/
Dnet_netdb_test_018.cpp57 struct servent *se1 = nullptr; in GetServEntTest()
58 struct servent *se2 = nullptr; in GetServEntTest()
59 struct servent *se3 = nullptr; in GetServEntTest()
Dnet_netdb_test_011.cpp50 struct servent *se1 = nullptr; in GetServByPortTest()
51 struct servent *se = getservbyport(htons(test_port_no), "tcp"); in GetServByPortTest()
Dnet_netdb_test_016.cpp52 struct servent *se1 = nullptr; in GetServByNameTest()
53 struct servent *se2 = nullptr; in GetServByNameTest()
Dnet_netdb_test_017.cpp46 struct servent se; in GetServByNameRTest()
47 struct servent *result = NULL; in GetServByNameRTest()
Dnet_netdb_test_012.cpp49 struct servent se, *result = NULL; in GetServByPortRTest()