aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/usrp2_impl.hpp
diff options
context:
space:
mode:
authorMatt Ettus <matt@ettus.com>2010-03-08 16:13:49 -0800
committerMatt Ettus <matt@ettus.com>2010-03-08 16:13:49 -0800
commitf6582b27c129aac9ea6991a6a5c7e1f5a17cd7a6 (patch)
tree3b5efb8a42f3898a3773c798befd812b015d84d9 /host/lib/usrp/usrp2/usrp2_impl.hpp
parente273ea92d83d46ca350ac07e3d836a4d99b106c2 (diff)
parent1b965831ae7588c7879d84de4e5fbd78ca614761 (diff)
downloaduhd-f6582b27c129aac9ea6991a6a5c7e1f5a17cd7a6.tar.gz
uhd-f6582b27c129aac9ea6991a6a5c7e1f5a17cd7a6.tar.bz2
uhd-f6582b27c129aac9ea6991a6a5c7e1f5a17cd7a6.zip
Merge branch 'u1e_uhd' of ettus.sourcerepo.com:ettus/uhd into u1e_uhd
Diffstat (limited to 'host/lib/usrp/usrp2/usrp2_impl.hpp')
-rw-r--r--host/lib/usrp/usrp2/usrp2_impl.hpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_impl.hpp b/host/lib/usrp/usrp2/usrp2_impl.hpp
index 2545efd58..9a4c42d42 100644
--- a/host/lib/usrp/usrp2/usrp2_impl.hpp
+++ b/host/lib/usrp/usrp2/usrp2_impl.hpp
@@ -98,10 +98,15 @@ public:
double get_master_clock_freq(void);
//the io interface
- void send_raw(const std::vector<boost::asio::const_buffer> &);
- uhd::shared_iovec recv_raw(void);
+ size_t send(const boost::asio::const_buffer &, const uhd::metadata_t &, const std::string &);
+ size_t recv(const boost::asio::mutable_buffer &, uhd::metadata_t &, const std::string &);
private:
+ //the raw io interface (samples are in the usrp2 native format)
+ size_t send_raw(const boost::asio::const_buffer &, const uhd::metadata_t &);
+ size_t recv_raw(const boost::asio::mutable_buffer &, uhd::metadata_t &);
+ uhd::dict<uint32_t, size_t> _stream_id_to_packet_seq;
+
//udp transports for control and data
uhd::transport::udp::sptr _ctrl_transport;
uhd::transport::udp::sptr _data_transport;