From 419d7dafa5c840b8aa9f056690007164de046a1d Mon Sep 17 00:00:00 2001 From: Alex Williams Date: Tue, 28 Jan 2020 15:50:32 -0800 Subject: 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. --- host/lib/usrp/mpmd/mpmd_link_if_ctrl_udp.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'host/lib/usrp/mpmd/mpmd_link_if_ctrl_udp.hpp') 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; -- cgit v1.2.3