Home
last modified time | relevance | path

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

/Zephyr-latest/tests/net/socket/service/src/
Dmain.c64 int c_sock_tcp; in run_test_service() local
78 prepare_sock_tcp_v6(MY_IPV6_ADDR, CLIENT_PORT, &c_sock_tcp, &c_addr); in run_test_service()
119 ret = connect(c_sock_tcp, (const struct sockaddr *)&s_addr, in run_test_service()
126 len = send(c_sock_tcp, BUF_AND_SIZE(TEST_STR_SMALL), 0); in run_test_service()
161 ret = close(c_sock_tcp); in run_test_service()
/Zephyr-latest/tests/net/socket/poll/src/
Dmain.c39 int c_sock_tcp; in ZTEST() local
51 prepare_sock_tcp_v6(MY_IPV6_ADDR, CLIENT_PORT, &c_sock_tcp, &c_addr); in ZTEST()
135 pollout[0].fd = c_sock_tcp; in ZTEST()
143 res = zsock_connect(c_sock_tcp, (const struct sockaddr *)&s_addr, in ZTEST()
153 res = zsock_close(c_sock_tcp); in ZTEST()