diff options
Diffstat (limited to 'host/lib')
-rw-r--r-- | host/lib/usrp/mpmd/mpmd_link_if_ctrl_udp.cpp | 6 | ||||
-rw-r--r-- | host/lib/usrp/mpmd/mpmd_link_if_mgr.hpp | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/host/lib/usrp/mpmd/mpmd_link_if_ctrl_udp.cpp b/host/lib/usrp/mpmd/mpmd_link_if_ctrl_udp.cpp index 6fc36bf72..89f713f1e 100644 --- a/host/lib/usrp/mpmd/mpmd_link_if_ctrl_udp.cpp +++ b/host/lib/usrp/mpmd/mpmd_link_if_ctrl_udp.cpp @@ -94,6 +94,12 @@ std::vector<std::string> get_addrs_from_mb_args(const uhd::device_addr_t& mb_arg if (mb_args.has_key(SECOND_ADDR_KEY)) { addrs.push_back(mb_args[SECOND_ADDR_KEY]); } + if (mb_args.has_key(THIRD_ADDR_KEY)) { + addrs.push_back(mb_args[THIRD_ADDR_KEY]); + } + if (mb_args.has_key(FOURTH_ADDR_KEY)) { + addrs.push_back(mb_args[FOURTH_ADDR_KEY]); + } } if(addrs.empty()) { if (!link_info_list.empty()) { diff --git a/host/lib/usrp/mpmd/mpmd_link_if_mgr.hpp b/host/lib/usrp/mpmd/mpmd_link_if_mgr.hpp index eac73e416..32f2b50a6 100644 --- a/host/lib/usrp/mpmd/mpmd_link_if_mgr.hpp +++ b/host/lib/usrp/mpmd/mpmd_link_if_mgr.hpp @@ -28,6 +28,10 @@ namespace uhd { namespace mpmd { namespace xport { const std::string FIRST_ADDR_KEY = "addr"; //! Secondary Ethernet address for streaming and RFNoC communication const std::string SECOND_ADDR_KEY = "second_addr"; +//! Tertiary Ethernet address for streaming and RFNoC communication +const std::string THIRD_ADDR_KEY = "third_addr"; +//! Quaternary Ethernet address for streaming and RFNoC communication +const std::string FOURTH_ADDR_KEY = "fourth_addr"; /*! Return filtered subset from a device_addr_t * |