Home
last modified time | relevance | path

Searched refs:g_localHost (Results 1 – 2 of 2) sorted by relevance

/test/xts/acts/communication_lite/lwip_posix/src/
DActsLwipTest.cpp37 static const char* g_localHost = "127.0.0.1"; variable
72 srvAddr.sin_addr.s_addr = inet_addr(g_localHost); in CommInitTcpServer()
107 srvAddr.sin_addr.s_addr = inet_addr(g_localHost); in CommTcpClientTask()
175 EXPECT_EQ(inet_addr(g_localHost), ((struct sockaddr_in*)&addr)->sin_addr.s_addr); in SampleTcpServerTask()
181 EXPECT_EQ(inet_addr(g_localHost), ((struct sockaddr_in*)&addr)->sin_addr.s_addr); in SampleTcpServerTask()
202 clnAddr.sin_addr.s_addr = inet_addr(g_localHost); in SampleTcpServerTask()
251 srvAddr.sin_addr.s_addr = inet_addr(g_localHost); in SampleTcpClientTask()
263 EXPECT_EQ(inet_addr(g_localHost), ((struct sockaddr_in*)&addr)->sin_addr.s_addr); in SampleTcpClientTask()
269 EXPECT_EQ(inet_addr(g_localHost), ((struct sockaddr_in*)&addr)->sin_addr.s_addr); in SampleTcpClientTask()
291 clnAddr.sin_addr.s_addr = inet_addr(g_localHost); in SampleTcpClientTask()
[all …]
/test/xts/acts/kernel_lite/net_posix/src/
DActsNetTest.cpp48 static const char* g_localHost = "127.0.0.1"; variable
90 srvAddr.sin_addr.s_addr = inet_addr(g_localHost); in CommInitTcpServer()
125 srvAddr.sin_addr.s_addr = inet_addr(g_localHost); in CommTcpClientTask()
197 EXPECT_EQ(inet_addr(g_localHost), ((struct sockaddr_in*)&addr)->sin_addr.s_addr); in SampleTcpServerTask()
203 EXPECT_EQ(inet_addr(g_localHost), ((struct sockaddr_in*)&addr)->sin_addr.s_addr); in SampleTcpServerTask()
226 clnAddr.sin_addr.s_addr = inet_addr(g_localHost); in SampleTcpServerTask()
285 srvAddr.sin_addr.s_addr = inet_addr(g_localHost); in SampleTcpClientTask()
297 EXPECT_EQ(inet_addr(g_localHost), ((struct sockaddr_in*)&addr)->sin_addr.s_addr); in SampleTcpClientTask()
303 EXPECT_EQ(inet_addr(g_localHost), ((struct sockaddr_in*)&addr)->sin_addr.s_addr); in SampleTcpClientTask()
327 clnAddr.sin_addr.s_addr = inet_addr(g_localHost); in SampleTcpClientTask()
[all …]