diff options
author | Josh Blum <josh@joshknows.com> | 2010-04-27 15:20:53 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-04-27 15:20:53 -0700 |
commit | 04dae4bf6b11b5aad383f95be6a77863a7c2f6ec (patch) | |
tree | 5d6bc7d4c22623a8917481da77630688e8ad67bb /host/include | |
parent | b920557788fc5435915584bec6ab16a97d7c6090 (diff) | |
download | uhd-04dae4bf6b11b5aad383f95be6a77863a7c2f6ec.tar.gz uhd-04dae4bf6b11b5aad383f95be6a77863a7c2f6ec.tar.bz2 uhd-04dae4bf6b11b5aad383f95be6a77863a7c2f6ec.zip |
setting size of buffers from device args
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/uhd/transport/udp_zero_copy.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
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; }; |