Home
last modified time | relevance | path

Searched refs:clnAddr (Results 1 – 5 of 5) sorted by relevance

/test/xts/acts/communication_lite/lwip_posix/src/
DActsLwipTest.cpp162 struct sockaddr_in clnAddr = {0}; in SampleTcpServerTask() local
163 socklen_t clnAddrLen = sizeof(clnAddr); in SampleTcpServerTask()
164 int clnFd = accept(srvFd, (struct sockaddr*)&clnAddr, &clnAddrLen); in SampleTcpServerTask()
165 printf("[tcp server]accept <%s:%d>\n", inet_ntoa(clnAddr.sin_addr), ntohs(clnAddr.sin_port)); in SampleTcpServerTask()
201 clnAddr.sin_family = AF_INET; in SampleTcpServerTask()
202 clnAddr.sin_addr.s_addr = inet_addr(g_localHost); in SampleTcpServerTask()
203 clnAddr.sin_port = htons(PEER_PORT); in SampleTcpServerTask()
207 msg.msg_name = &clnAddr; in SampleTcpServerTask()
208 msg.msg_namelen = sizeof(clnAddr); in SampleTcpServerTask()
222 msg.msg_name = &clnAddr; in SampleTcpServerTask()
[all …]
/test/xts/acts/communication_lite/lwip_hal/src/
Dlwip_func_test.c175 struct sockaddr_in clnAddr = {0}; in SampleTcpServerTask() local
176 socklen_t clnAddrLen = sizeof(clnAddr); in SampleTcpServerTask()
183 int clientFd = accept(srvFd, (struct sockaddr*)&clnAddr, &clnAddrLen); in SampleTcpServerTask()
184 printf("[tcp server]accept <%s:%d>\n", inet_ntoa(clnAddr.sin_addr), ntohs(clnAddr.sin_port)); in SampleTcpServerTask()
202 clnAddr.sin_family = AF_INET; in SampleTcpServerTask()
203 clnAddr.sin_addr.s_addr = inet_addr(PEER_IP); in SampleTcpServerTask()
204 clnAddr.sin_port = htons(PEER_PORT); in SampleTcpServerTask()
208 msg.msg_name = &clnAddr; in SampleTcpServerTask()
209 msg.msg_namelen = sizeof(clnAddr); in SampleTcpServerTask()
253 struct sockaddr_in clnAddr = {0}; in SampleTcpClientTask() local
[all …]
/test/xts/acts/kernel_lite/net_posix/src/
DActsNetTest.cpp184 struct sockaddr_in clnAddr = {0}; in SampleTcpServerTask() local
185 socklen_t clnAddrLen = sizeof(clnAddr); in SampleTcpServerTask()
186 int clnFd = accept(srvFd, (struct sockaddr*)&clnAddr, &clnAddrLen); in SampleTcpServerTask()
187 printf("[tcp server]accept <%s:%d>\n", inet_ntoa(clnAddr.sin_addr), ntohs(clnAddr.sin_port)); in SampleTcpServerTask()
225 clnAddr.sin_family = AF_INET; in SampleTcpServerTask()
226 clnAddr.sin_addr.s_addr = inet_addr(g_localHost); in SampleTcpServerTask()
227 clnAddr.sin_port = htons(PEER_PORT); in SampleTcpServerTask()
232 msg.msg_name = &clnAddr; in SampleTcpServerTask()
233 msg.msg_namelen = sizeof(clnAddr); in SampleTcpServerTask()
250 msg.msg_name = &clnAddr; in SampleTcpServerTask()
[all …]
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
Dsocketndk.cpp341 struct sockaddr_in clnAddr = {PARAM_0}; in Getpeername() local
342 socklen_t clnAddrLen = sizeof(clnAddr); in Getpeername()
343 int sClient = accept(sockfd, (struct sockaddr *)&clnAddr, &clnAddrLen); in Getpeername()
Dotherstestndk.cpp817 struct sockaddr_in clnAddr = {0}; in ServerTaskOne() local
818 socklen_t clnAddrLen = sizeof(clnAddr); in ServerTaskOne()
820 sClient = accept4(sListen, (struct sockaddr *)&clnAddr, &clnAddrLen, PARAM_0); in ServerTaskOne()