diff options
author | Martin Braun <martin.braun@ettus.com> | 2021-12-20 15:49:34 +0100 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2022-01-05 10:06:34 -0600 |
commit | a27a9358643ff398c849ea152a50e86e27ef4bfc (patch) | |
tree | c91640653d29e8aefacfffa1465245c1ccdbdb8b /host/include | |
parent | bc653b9c6fb904ccc40dcf658c1f71e2def54a7b (diff) | |
download | uhd-a27a9358643ff398c849ea152a50e86e27ef4bfc.tar.gz uhd-a27a9358643ff398c849ea152a50e86e27ef4bfc.tar.bz2 uhd-a27a9358643ff398c849ea152a50e86e27ef4bfc.zip |
uhd: Remove tcp_zero_copy
This removes the tcp_zero_copy interface, which is not supported by any
USRP.
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 |