From 04dae4bf6b11b5aad383f95be6a77863a7c2f6ec Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Tue, 27 Apr 2010 15:20:53 -0700 Subject: setting size of buffers from device args --- host/include/uhd/transport/udp_zero_copy.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'host/include') diff --git a/host/include/uhd/transport/udp_zero_copy.hpp b/host/include/uhd/transport/udp_zero_copy.hpp index 117f24b2f..c74e6d7b7 100644 --- a/host/include/uhd/transport/udp_zero_copy.hpp +++ b/host/include/uhd/transport/udp_zero_copy.hpp @@ -54,18 +54,18 @@ public: static sptr make(const std::string &addr, const std::string &port); /*! - * The the rx buffer size on the socket. + * Resize the the rx buffer size on the socket. * \param num_bytes the new size for the socket buffer * \return the actual number of bytes allowed by the OS */ - virtual size_t set_recv_buff_size(size_t num_bytes) = 0; + virtual size_t resize_recv_buff_size(size_t num_bytes) = 0; /*! - * The the tx buffer size on the socket. + * Resize the the tx buffer size on the socket. * \param num_bytes the new size for the socket buffer * \return the actual number of bytes allowed by the OS */ - virtual size_t set_send_buff_size(size_t num_bytes) = 0; + virtual size_t resize_send_buff_size(size_t num_bytes) = 0; }; -- cgit v1.2.3