aboutsummaryrefslogtreecommitdiffstats
path: root/host/include/uhd/transport/zero_copy.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/include/uhd/transport/zero_copy.hpp')
-rw-r--r--host/include/uhd/transport/zero_copy.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/host/include/uhd/transport/zero_copy.hpp b/host/include/uhd/transport/zero_copy.hpp
index 73d1686b8..4218ab2f9 100644
--- a/host/include/uhd/transport/zero_copy.hpp
+++ b/host/include/uhd/transport/zero_copy.hpp
@@ -128,10 +128,20 @@ namespace uhd{ namespace transport{
* Transport parameters
*/
struct zero_copy_xport_params {
+ zero_copy_xport_params() :
+ recv_frame_size(0),
+ send_frame_size(0),
+ num_recv_frames(0),
+ num_send_frames(0),
+ recv_buff_size(0),
+ send_buff_size(0)
+ { /* NOP */ }
size_t recv_frame_size;
size_t send_frame_size;
size_t num_recv_frames;
size_t num_send_frames;
+ size_t recv_buff_size;
+ size_t send_buff_size;
};
/*!