Lines Matching refs:client_sock
565 int client_sock, server_sock; in ZTEST() local
571 client_sock = get_v6_send_recv_sock(&server_sock, &c_saddr, &s_saddr, in ZTEST()
573 zassert_true(client_sock >= 0, "Failed to create client socket"); in ZTEST()
592 (void)zsock_close(client_sock); in ZTEST()
691 int client_sock, server_sock; in ZTEST() local
697 client_sock = get_v4_send_recv_sock(&server_sock, &c_saddr, &s_saddr, in ZTEST()
699 zassert_true(client_sock >= 0, "Failed to create client socket"); in ZTEST()
718 (void)zsock_close(client_sock); in ZTEST()
786 int ret, client_sock, server_sock; in ZTEST() local
791 client_sock = get_v4_send_recv_sock(&server_sock, &c_saddr, &s_saddr, in ZTEST()
793 zassert_true(client_sock >= 0, "Failed to create client socket"); in ZTEST()
800 ret = zsock_getsockopt(client_sock, IPPROTO_IP, IP_MTU, &optval, &optlen); in ZTEST()
807 ret = zsock_setsockopt(client_sock, IPPROTO_IP, IP_MTU, &optval, optlen); in ZTEST()
813 (void)zsock_close(client_sock); in ZTEST()
825 int ret, client_sock, server_sock; in ZTEST() local
830 client_sock = get_v6_send_recv_sock(&server_sock, &c_saddr, &s_saddr, in ZTEST()
832 zassert_true(client_sock >= 0, "Failed to create client socket"); in ZTEST()
839 ret = zsock_getsockopt(client_sock, IPPROTO_IPV6, IPV6_MTU, &optval, &optlen); in ZTEST()
846 ret = zsock_setsockopt(client_sock, IPPROTO_IPV6, IPV6_MTU, &optval, optlen); in ZTEST()
853 ret = zsock_getsockopt(client_sock, IPPROTO_IPV6, IPV6_MTU, &optval, &optlen); in ZTEST()
859 (void)zsock_close(client_sock); in ZTEST()