Lines Matching refs:c_sock
37 int c_sock; in ZTEST() local
49 prepare_sock_udp_v6(MY_IPV6_ADDR, CLIENT_PORT, &c_sock, &c_addr); in ZTEST()
57 res = zsock_connect(c_sock, (struct sockaddr *)&s_addr, sizeof(s_addr)); in ZTEST()
61 pollfds[0].fd = c_sock; in ZTEST()
72 zassert_equal(pollfds[0].fd, c_sock, ""); in ZTEST()
89 len = zsock_send(c_sock, BUF_AND_SIZE(TEST_STR_SMALL), 0); in ZTEST()
98 zassert_equal(pollfds[0].fd, c_sock, ""); in ZTEST()
118 pollout[0].fd = c_sock; in ZTEST()
121 res = zsock_connect(c_sock, (const struct sockaddr *)&s_addr, in ZTEST()
160 res = zsock_close(c_sock); in ZTEST()
181 int c_sock; in ZTEST() local
189 prepare_sock_tcp_v6(MY_IPV6_ADDR, CLIENT_PORT, &c_sock, &c_addr); in ZTEST()
196 res = zsock_connect(c_sock, (const struct sockaddr *)&s_addr, in ZTEST()
206 pollout[0].fd = c_sock; in ZTEST()
214 res = zsock_send(c_sock, buf, sizeof(buf), 0); in ZTEST()
218 pollout[0].fd = c_sock; in ZTEST()
232 pollout[0].fd = c_sock; in ZTEST()
243 res = zsock_close(c_sock); in ZTEST()