USRP Hardware Driver and USRP Manual  Version: 3.11.0.HEAD-0-gdca39145
UHD and USRP Manual
tcp_zero_copy.hpp
Go to the documentation of this file.
1 //
2 // Copyright 2010-2015 Ettus Research LLC
3 //
4 // SPDX-License-Identifier: GPL-3.0
5 //
6 
7 #ifndef INCLUDED_UHD_TRANSPORT_TCP_ZERO_COPY_HPP
8 #define INCLUDED_UHD_TRANSPORT_TCP_ZERO_COPY_HPP
9 
10 #include <uhd/config.hpp>
13 #include <boost/shared_ptr.hpp>
14 
15 namespace uhd{ namespace transport{
16 
22 struct UHD_API tcp_zero_copy : public virtual zero_copy_if
23 {
24  virtual ~tcp_zero_copy(void);
25 
39  static zero_copy_if::sptr make(
40  const std::string &addr,
41  const std::string &port,
42  const device_addr_t &hints = device_addr_t()
43  );
44 };
45 
46 }} //namespace
47 
48 #endif /* INCLUDED_UHD_TRANSPORT_TCP_ZERO_COPY_HPP */
Definition: tcp_zero_copy.hpp:22
boost::shared_ptr< zero_copy_if > sptr
Definition: zero_copy.hpp:143
Definition: build_info.hpp:14
#define UHD_API
Definition: config.h:62
Definition: zero_copy.hpp:141
Definition: device_addr.hpp:36