aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/netd/netd_impl.hpp
diff options
context:
space:
mode:
authorAndrej Rode <andrej.rode@ettus.com>2017-04-11 15:56:13 -0700
committerMartin Braun <martin.braun@ettus.com>2017-12-22 15:03:45 -0800
commitf27cb2a7711e428a88c59a5af762055c7f1e3e13 (patch)
tree98cf05cc04bd0a96a8f67df38e11729991d9a743 /host/lib/usrp/netd/netd_impl.hpp
parentc8ae32253b649faea27dcf0d98fd0395924a2eec (diff)
downloaduhd-f27cb2a7711e428a88c59a5af762055c7f1e3e13.tar.gz
uhd-f27cb2a7711e428a88c59a5af762055c7f1e3e13.tar.bz2
uhd-f27cb2a7711e428a88c59a5af762055c7f1e3e13.zip
uhd: add a simple make_transport to netd_impl
Diffstat (limited to 'host/lib/usrp/netd/netd_impl.hpp')
-rw-r--r--host/lib/usrp/netd/netd_impl.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/host/lib/usrp/netd/netd_impl.hpp b/host/lib/usrp/netd/netd_impl.hpp
index 418f3aef6..4b08f50cd 100644
--- a/host/lib/usrp/netd/netd_impl.hpp
+++ b/host/lib/usrp/netd/netd_impl.hpp
@@ -54,6 +54,10 @@ class netd_mboard_impl
std::string loaded_fpga_image;
std::string xport_path;
uhd::rpc_client rpc;
+ uhd::sid_t allocate_sid(const uint16_t port,
+ const uhd::sid_t address,
+ const uint32_t xbar_src_addr,
+ const uint32_t xbar_src_dst);
private:
bool claim();
@@ -76,6 +80,7 @@ class netd_impl : public uhd::usrp::device3_impl
private:
std::vector<netd_mboard_impl::uptr> _mb;
+ size_t _sid_framer;
};
uhd::device_addrs_t netd_find(const uhd::device_addr_t& hint_);
#endif /* INCLUDED_NETD_IMPL_HPP */