diff options
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/uhd/transport/CMakeLists.txt | 1 | ||||
-rw-r--r-- | host/include/uhd/transport/tcp_zero_copy.hpp | 44 |
2 files changed, 0 insertions, 45 deletions
diff --git a/host/include/uhd/transport/CMakeLists.txt b/host/include/uhd/transport/CMakeLists.txt index a74f025bf..85956fade 100644 --- a/host/include/uhd/transport/CMakeLists.txt +++ b/host/include/uhd/transport/CMakeLists.txt @@ -16,7 +16,6 @@ UHD_INSTALL(FILES udp_constants.hpp udp_simple.hpp udp_zero_copy.hpp - tcp_zero_copy.hpp usb_control.hpp usb_zero_copy.hpp usb_device_handle.hpp diff --git a/host/include/uhd/transport/tcp_zero_copy.hpp b/host/include/uhd/transport/tcp_zero_copy.hpp deleted file mode 100644 index d55a87a48..000000000 --- a/host/include/uhd/transport/tcp_zero_copy.hpp +++ /dev/null @@ -1,44 +0,0 @@ -// -// Copyright 2010-2015 Ettus Research LLC -// Copyright 2018 Ettus Research, a National Instruments Company -// -// SPDX-License-Identifier: GPL-3.0-or-later -// - -#pragma once - -#include <uhd/config.hpp> -#include <uhd/transport/zero_copy.hpp> -#include <uhd/types/device_addr.hpp> -#include <memory> - -namespace uhd { namespace transport { - -/*! - * The zero copy TCP transport. - * This transport provides the uhd zero copy interface - * on top of a standard tcp socket from boost asio. - */ -struct UHD_API tcp_zero_copy : public virtual zero_copy_if -{ - ~tcp_zero_copy(void) override; - - /*! - * Make a new zero copy TCP transport: - * This transport is for sending and receiving - * between this host and a single endpoint. - * The primary usage for this transport will be data transactions. - * - * The address will be resolved, it can be a host name or ipv4. - * The port will be resolved, it can be a port type or number. - * - * \param addr a string representing the destination address - * \param port a string representing the destination port - * \param hints optional parameters to pass to the underlying transport - */ - static zero_copy_if::sptr make(const std::string& addr, - const std::string& port, - const device_addr_t& hints = device_addr_t()); -}; - -}} // namespace uhd::transport |