USRP Hardware Driver and USRP Manual  Version: 3.13.0.HEAD-0-gf114cfa0
UHD and USRP Manual
tcp_zero_copy.hpp
Go to the documentation of this file.
1 //
2 // Copyright 2010-2015 Ettus Research LLC
3 // Copyright 2018 Ettus Research, a National Instruments Company
4 //
5 // SPDX-License-Identifier: GPL-3.0-or-later
6 //
7 
8 #ifndef INCLUDED_UHD_TRANSPORT_TCP_ZERO_COPY_HPP
9 #define INCLUDED_UHD_TRANSPORT_TCP_ZERO_COPY_HPP
10 
11 #include <uhd/config.hpp>
14 #include <boost/shared_ptr.hpp>
15 
16 namespace uhd{ namespace transport{
17 
23 struct UHD_API tcp_zero_copy : public virtual zero_copy_if
24 {
25  virtual ~tcp_zero_copy(void);
26 
40  static zero_copy_if::sptr make(
41  const std::string &addr,
42  const std::string &port,
43  const device_addr_t &hints = device_addr_t()
44  );
45 };
46 
47 }} //namespace
48 
49 #endif /* INCLUDED_UHD_TRANSPORT_TCP_ZERO_COPY_HPP */
Definition: tcp_zero_copy.hpp:23
boost::shared_ptr< zero_copy_if > sptr
Definition: zero_copy.hpp:144
Definition: build_info.hpp:14
#define UHD_API
Definition: config.h:63
Definition: zero_copy.hpp:142
Definition: device_addr.hpp:38