Lines Matching refs:sock3
226 int ret, sock1, sock2, sock3, sock4; in ZTEST() local
233 sock3 = prepare_udp_socket(&sockaddr, DST_PORT); in ZTEST()
250 setblocking(sock3, false); in ZTEST()
256 ret = zsock_recvfrom(sock3, data_to_receive, sizeof(data_to_receive), in ZTEST()
285 zsock_close(sock3); in ZTEST()
509 int ret, sock1, sock2, sock3; in ZTEST() local
529 sock3 = setup_socket(ud.second, SOCK_RAW, htons(ETH_P_ALL)); in ZTEST()
530 zassert_true(sock3 >= 0, "Cannot create 2nd socket (%d)", sock3); in ZTEST()
538 ret = bind_socket(sock3, ud.second); in ZTEST()
543 setblocking(sock3, false); in ZTEST()
581 ret = zsock_recvfrom(sock3, data_to_receive, sizeof(data_to_receive), in ZTEST()
594 zsock_close(sock3); in ZTEST()