Home
last modified time | relevance | path

Searched refs:addrLen (Results 1 – 4 of 4) sorted by relevance

/test/xts/acts/communication_lite/lwip_posix/src/
DActsLwipTest.cpp170 socklen_t addrLen = sizeof(addr); in SampleTcpServerTask() local
171 int ret = getsockname(clnFd, &addr, &addrLen); in SampleTcpServerTask()
177 ret = getpeername(clnFd, &addr, &addrLen); in SampleTcpServerTask()
258 socklen_t addrLen = sizeof(addr); in SampleTcpClientTask() local
259 ret = getpeername(clnFd, &addr, &addrLen); in SampleTcpClientTask()
265 ret = getsockname(clnFd, &addr, &addrLen); in SampleTcpClientTask()
797 socklen_t addrLen = sizeof(addr); variable
798 int ret = getsockname(-1, &addr, &addrLen);
800 ret = getpeername(-1, &addr, &addrLen);
802 ret = getsockname(0, &addr, &addrLen);
[all …]
/test/xts/acts/communication_lite/lwip_hal/src/
Dlwip_func_test.c251 socklen_t addrLen = sizeof(addr); in SampleTcpClientTask() local
270 ret = getpeername(clientFd, &addr, &addrLen); in SampleTcpClientTask()
274 TEST_ASSERT_EQUAL_INT(sizeof(struct sockaddr_in), addrLen); in SampleTcpClientTask()
277 ret = getsockname(clientFd, &addr, &addrLen); in SampleTcpClientTask()
281 TEST_ASSERT_EQUAL_INT(sizeof(struct sockaddr_in), addrLen); in SampleTcpClientTask()
757 socklen_t addrLen = sizeof(addr); variable
758 int ret = getsockname(-1, &addr, &addrLen);
760 ret = getpeername(-1, &addr, &addrLen);
762 ret = getsockname(0, &addr, &addrLen);
764 ret = getpeername(0, &addr, &addrLen);
[all …]
/test/xts/acts/kernel_lite/net_posix/src/
DActsNetTest.cpp192 socklen_t addrLen = sizeof(addr); in SampleTcpServerTask() local
193 int ret = getsockname(clnFd, &addr, &addrLen); in SampleTcpServerTask()
199 ret = getpeername(clnFd, &addr, &addrLen); in SampleTcpServerTask()
292 socklen_t addrLen = sizeof(addr); in SampleTcpClientTask() local
293 ret = getpeername(clnFd, &addr, &addrLen); in SampleTcpClientTask()
299 ret = getsockname(clnFd, &addr, &addrLen); in SampleTcpClientTask()
414 socklen_t addrLen = sizeof(addr); in TcpClientOnlyConnectTask() local
433 ret = getsockname(clientFds[index], &addr, &addrLen); in TcpClientOnlyConnectTask()
438 ret = getpeername(clientFds[index], &addr, &addrLen); in TcpClientOnlyConnectTask()
1327 socklen_t addrLen = sizeof(addr); variable
[all …]
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
Dsocketndk.cpp345 socklen_t addrLen = sizeof(addr); in Getpeername() local
346 int ret = getpeername(sClient, &addr, &addrLen); in Getpeername()