diff options
author | Alex Williams <alex.williams@ni.com> | 2020-01-28 15:50:32 -0800 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-07-16 10:00:12 -0500 |
commit | 419d7dafa5c840b8aa9f056690007164de046a1d (patch) | |
tree | 7681659a80e585d3ee63f28eb7eea1780e1a708a /host/lib/usrp/mpmd/mpmd_link_if_ctrl_udp.hpp | |
parent | eadbc21982d6a12bc52300e6855af368b7917574 (diff) | |
download | uhd-419d7dafa5c840b8aa9f056690007164de046a1d.tar.gz uhd-419d7dafa5c840b8aa9f056690007164de046a1d.tar.bz2 uhd-419d7dafa5c840b8aa9f056690007164de046a1d.zip |
mpm,mpmd: Add iface type and mtu info for UDP links
This changes MTU handling for the "internal" UDP type. Because MPM
echo packets will not be returned for internal NICs, use the iface's
programmed MTU instead.
Diffstat (limited to 'host/lib/usrp/mpmd/mpmd_link_if_ctrl_udp.hpp')
-rw-r--r-- | host/lib/usrp/mpmd/mpmd_link_if_ctrl_udp.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/host/lib/usrp/mpmd/mpmd_link_if_ctrl_udp.hpp b/host/lib/usrp/mpmd/mpmd_link_if_ctrl_udp.hpp index ebe4f5db2..e4a0d7811 100644 --- a/host/lib/usrp/mpmd/mpmd_link_if_ctrl_udp.hpp +++ b/host/lib/usrp/mpmd/mpmd_link_if_ctrl_udp.hpp @@ -26,6 +26,8 @@ public: { std::string udp_port; size_t link_rate; + std::string link_type; + size_t if_mtu; }; using udp_link_info_map = std::unordered_map<std::string, udp_link_info_t>; |