Lines Matching refs:c_sock
71 int c_sock; in ZTEST_USER() local
81 prepare_sock_udp_v6(MY_IPV6_ADDR, CLIENT_PORT, &c_sock, &c_addr); in ZTEST_USER()
87 res = zsock_connect(c_sock, (struct sockaddr *)&s_addr, sizeof(s_addr)); in ZTEST_USER()
91 ZSOCK_FD_SET(c_sock, &readfds); in ZTEST_USER()
106 zassert_false(ZSOCK_FD_ISSET(c_sock, &readfds), ""); in ZTEST_USER()
110 ZSOCK_FD_SET(c_sock, &readfds); in ZTEST_USER()
122 len = zsock_send(c_sock, BUF_AND_SIZE(TEST_STR_SMALL), 0); in ZTEST_USER()
125 ZSOCK_FD_SET(c_sock, &readfds); in ZTEST_USER()
135 zassert_false(ZSOCK_FD_ISSET(c_sock, &readfds), ""); in ZTEST_USER()
143 ZSOCK_FD_SET(c_sock, &readfds); in ZTEST_USER()
154 res = zsock_close(c_sock); in ZTEST_USER()
157 ZSOCK_FD_SET(c_sock, &readfds); in ZTEST_USER()